how to make a next js with typescript code example
Example 1: next with typescript
yarn add --dev typescript @types/react @types/node
Example 2: next js typescript
// create a tsconfig
touch tsconfig.json
// run command `npm run dev`
npm run dev