how to use typescript with react js from beginners code example
Example: why use typescript with react
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
npm install --save typescript @types/node @types/react @types/react-dom @types/jest