I would like to use get/set syntax in TypeScript within Visual Studio Express for Web. How do I enable this. I currently get this error when compiling;
The switch for instructing the TSC.EXE to generate ES5 compatible code is --target ES5 (note the double dashes).
Each project has a file called [Something].csproj (C# project in our case). Open that file using notepad and look for Target xml element. Change the exec command by adding the --target ES5.
Before:
After: