Home > Blockchain >  Updating TypeScript version
Updating TypeScript version

Time:06-13

I run npm install -g typescript to update my TypeScript version globally, but when I run ng v in my Angular project, I still see an old version. Why is that? How can I consistently upgrade this?

enter image description here

CodePudding user response:

You can run npm i typescript@next -D to upgrade the version of your current project

CodePudding user response:

You can upgrade the typescript version in your project, the typescript used in the project is your local installation

  • Related