After installing Visual Studio 2017, I encountered a TypeScript error when trying to run my project. It seems that VS 2017 is using TypeScript 2.1.5, while my application was designed for TypeScript 1.8.
Is there a way to make VS 17 utilize TypeScript 1.8? My solution runs perfectly on VS 2015, but I prefer to use 2017 without modifying the code.
Interestingly enough, the TypeScript version specified in the .csproj file is 1.8:
<TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
However, if I edit the TypeScriptToolsVersion in the .csproj file to another value and then revert it back to 1.8, the solution compiles correctly. Strangely, after repeated compilations, the TypeScript issue resurfaces.