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;
This has changed with TypeScript 0.8.2. You now change TypeScriptTarget in the .csproj file from:
TypeScriptTarget
.csproj
ES3
to
ES5
MyApp.csproj:
ES5 true true AMD ES5 false false AMD
See also Asher Barak answer