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?
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