terminal command to get typescrpt version code example
Example 1: how to check typescript version
tsc --version
Example 2: how to check typescript version for my react-app
Go to the root directory of your project, and run the following command
./node_modules/typescript/bin/tsc -v