You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportclassSomeClass{privatesomeMethod(): void{if(1<2){console.log("TypeScript syntax highlighting is broken!");}elseif(1>2){console.log("");}}privatesomeOtherMethod(){console.log("");//constq=1;vars=2;lete=3;}q=100;}
When using JavaScript syntax highlighting instead, things are correct as with the typescriptreact language. I suspect the issue is with the <*> style type casts
The text was updated successfully, but these errors were encountered:
mjbvz
changed the title
Line
Line Break with Less Than Symbol Gives Incorrect Syntax Highlighting
Mar 22, 2017
TS and JS Grammar Extension version: 0.0.18 / latest
From: microsoft/vscode#22951
Code
For TypeScript code:
When using JavaScript syntax highlighting instead, things are correct as with the
typescriptreact
language. I suspect the issue is with the<*>
style type castsThe text was updated successfully, but these errors were encountered: