If you only have TypeScript installed for Visual Studio then:
- Start the Visual Studio Command Prompt
- Type
tsc -v
and hit Enter
Visual Studio 2017 versions 15.3 and above bind the TypeScript version to individual projects, as this answer points out:
- Right click on the project node in Solution Explorer
- Click Properties
- Go to the TypeScript Build tab