Volar 0.40.5
I get frequent false errors due to Volar complaining about invalid identifiers due to off-by-one-character errors, like in the screenshot:
The fix is to restart VS Code, closing and reopening the source file with the reported false error doesn't work due to some form of cache.

Other example that happend: complaining about unknown type nboolean instead of boolean which is in source code.