I use Angular 2 in my web project, and therefore I need TypeScript to support experimental decorators like @View. This can be done in tsconfig.json with "experimentalDecorators": true , but I do not see such an option in the settings of the Visual Studio project. (I created a TypeScript project.) So I need Visual Studio to discover and use my tsconfig.json file.
I read in various places online that Visual Studio should pick up and use tsconfig.json if it is present in the root directory of the project. However, this does not happen. I am using Visual Studio 2013 Update 4 - and upgrade to update 5 when I write this.
Does anyone know how to get Visual Studio 2013 (NOT Visual Studio Code and NOT Visual Studio 2015) to use the tsconfig.json file? Maybe it should be at the root of the solution instead of the root of the project?
Otherwise, I can try to add a pre-build event to directly call tsc ... but that seems messy.
source share