I am running the following command to update my TypeScript version from 1.8.5 to 2.0.7 :
npm install -g typescript
it shows as -- [email protected]
Afterwards, when I am trying to check it manually using : tsc --version, it shows me : Version 1.8.5
Please tell me how to upgrade version of typescript from Version 1.8.5 to 2.0.7.
typescriptpackage(s) by executingnpm uninstall -g typescriptand then try installing the same like how you tried it eariler.tscbeing executed. Windows:where tsc, Unix:which tsc. Maybe there is another tsc on your path before npm's.