'How to install older version of Typescript?
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?
Solution 1:[1]
Solution 2:[2]
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:[3]
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 [email protected]
for Globally Install or Uninstall you can add -g to both of the above commands.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ajay |
| Solution 2 | crh225 |
| Solution 3 |
