Check out example codes for "how to check typescript version for my react-app". It will help you in understanding the concepts better.

Code Example 1

tsc --version

Code Example 2

Go to the root directory of your project, and run the following command

./node_modules/typescript/bin/tsc -v

Learn ReactJs, React Native from akashmittal.com