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