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;
Property accessors are only available when targeting ES5 or greater
The file being compiled has a build action of TypeScriptCompile
. I don't know how to add a the necessary compiler switch from within Visual Studio.
Any help would be appreciated.