Skip to content
Advertisement

Tag: visual-studio-2019

Strange JavaScript warning in VS IDE

I’m getting an odd code syntax warning in Visual Studio, for a bit of JavaScript: The warning is on the opening curly brace: TS1005 (JS) ‘;’ expected. I tried adding a semicolon after the closing curly brace, but that didn’t make a difference: I’ve also determined that when this if block is included anywhere in the script—with or without the

Advertisement