install typecritp create reat app code example
Example: yarn create react app typescript
npx create-react-app my-app --template typescript
# or
yarn create react-app my-app --template typescriptCopy
npx create-react-app my-app --template typescript
# or
yarn create react-app my-app --template typescriptCopy