Quantcast
Channel: How to update TypeScript to latest version with npm? - Stack Overflow
Viewing all articles
Browse latest Browse all 13

Answer by Little Roys for How to update TypeScript to latest version with npm?

$
0
0

For npm: you can run:

npm update -g typescript

By default, it will install latest version.

For yarn, you can run:

yarn upgrade typescript

Or you can remove the orginal version, run yarn global remove typescript, and then execute yarn global add typescript, by default it will also install the latest version of typescript.

more details, you can read yarn docs.


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>