'Duplicate identifier' error when compiling typescript definition files to wwwroot folder
问题 I have created a ASP.NET 5 project wich I use mainly for a front-end typescript application. I'm using grunt and grunt-ts to do the compilation. I have a 'src' folder where all my typescript files are contained grunt-ts compiles everything in the 'src' folder and combines this to a single js file wich is then put in the wwwroot folder. A typescript definition file is also generated and put in the wwwroot folder. compiling with grunt/grunt-ts works flawlessly. The problem : When the definition