In an attempt to develop an application in Visual Studio using TypeScript, I meticulously followed the instructions outlined here and proceeded to install the necessary TypeScript compiler for version 2.2 of the project via NPM.
npm install typescript
To confirm the success of the installation process, I checked for the TypeScript compiler version by running:
tsc --version
The response returned was as expected:
Version 2.2.2
However, despite this, whenever I attempt to build my solution, I consistently encounter the following error message:
Your project specifies TypeScriptToolsVersion 2.2, but a matching compiler was not found. The latest available TypeScript compiler will be used (2.3). To remove this warning, install the TypeScript 2.2 SDK or update the value of TypeScriptToolsVersion.
Despite numerous attempts at troubleshooting, including searching through various resources online, I have yet to find a viable solution. Can anyone provide guidance on how to resolve this issue?