Hi Friends 👋,
Welcome To Infinitbility! ❤️
Check the global level of the typeScript version
To check the current typescript version, open your terminal and run the
tsc -v command it will show the current global version of TypeScript.
Getting error tsc not found
You run the above command
tsc -v but it shows the error
'tsc' not recognized as an internal or external command, it means typeScript does not install global level on your PC.
So, to install typeScript we have the below a command
1npm install -g typescript
Check project level of typeScript version
To check the project level of the typeScript version, go to your project and check the
If you get
typescript in your
package.json file then your project is running a mentioned version of TypeScript.
else it’s running on your global level typeScript version.
I hope it helps you, All the best 👍.
Follow me on Twitter
Join our email list and get notified about new content
No worries, I respect your privacy and I will never abuse your email.
Every week, on Tuesday, you will receive a list of free tutorials I made during the week (I write one every day) and news on other training products I create.