How to install older version of Typescript?
Typescripttypescript1.8Typescript Problem Overview
I recently installed Typescript 1.8 and found too many breaking issues. So for the time being I would like to install 1.7. Where can I get a link to down this?
Typescript Solutions
Solution 1 - Typescript
For installing typescript 1.7.5, use
npm install typescript@1.7.5
Solution 2 - Typescript
to install globally npm install -g [email protected]
to check open cmd and run
tsc -v
to install it for the specific project you are working on change to the directory of your project
npm install [email protected]
and then check your package.json file
If you are using visual studio 2017, it may be using visual studio's version of typescript.
Solution 3 - Typescript
If you have a higher version of typescript and you want to install an older version, you can Uninstall the current version by this command(optional):
npm uninstall typescript
And then you can install the specific version you want like this for version(3.9.7):
npm install typescript@3.9.7
for Globally Install or Uninstall you can add -g to both of the above commands.