TypeScript Version Always Shows 1.0
·
1 min read
·
49
Words
·
-Views
-Comments
On Windows,
tsc --version
showed1.0.3.0
even though I’d installed TypeScript 2.3.4. Runningwhere tsc
revealed the culprit.
Version Output
System PATH
The PATH pointed to C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0
—the compiler bundled with Visual Studio.
Fix
Remove that path entry and rerun tsc --version
:
Now the correct version appears.