Getting started

  1. npx create-react-app ts-react: Bootstrap the project with CRA
  2. npm i typescript @types/node @types/react @types/react-dom: Install TypeScript and type definitions.
  3. Change App.js to App.tsx
  4. Start the localhost server, using npm start
  5. After starting the server, a tsconfig.json will be generated. Let it be!