tsc create-react-app code example
Example: create react app ts
To create typescript version
npx create-react-app my-app --template typescript
# or
yarn create react-app my-app --template typescript
To create typescript version
npx create-react-app my-app --template typescript
# or
yarn create react-app my-app --template typescript