Operating on Windows 10 Enterprise,
After investing several hours and experimenting on various VMs,
Interesting Observation #1
Upon opening a .ts file in vscode, it appears to be recognized as TypeScript 2.3.4 as per the screenshot provided below:
https://i.sstatic.net/FOjOa.png
Interesting Observation #2
However, attempting to execute a .ts file in VSCode (using control-shift-b) results in the following error:
'tsc' is not recognized as an internal or external command,
Interesting Observation #3
Upon scouring through all storage disks, I discovered that tsc.cmd only resides within Visual Studio 2015 at the specified location. It is not part of VSCode.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\.bin\tsc.cmd
Interesting Observation #4
The documentation for TypeScript falsely declares that:
“VS Code ships with a recent stable version of the TypeScript language service”
https://code.visualstudio.com/Docs/languages/typescript
Interesting Observation #5
Reviewing other relevant SO posts: Does VS Code install TypeScript, and if so: where? It is evident that I must manually install TypeScript and address any version conflict warnings that may arise.
"Version mismatch! global tsc (2.1.5) != VS Code's language service (2.2.1). Inconsistent compiler errors might occur"
More details can be found at: https://code.visualstudio.com/Docs/languages/typescript
Question:
Why does a fresh installation of VSCode believe it is equipped with TypeScript 2.3.4, as illustrated in the above screenshot?