Incorrect TypeScript syntax highlighting with variable type starting on a new line
Ilyat1337 opened this issue · 0 comments
Ilyat1337 commented
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.78.1
- OS Version: Windows_NT x64 10.0.22621 (Windows 11)
Steps to Reproduce:
(This issue can also be reproduced in VSCode Web)
- Create new text file
- Select TypeScript language
- Paste the following code:
let a:
number
for (;;);
- Syntax highlighting starting with 'for' is broken. It does not occur if type specifier is on the same line as variable declaration.