Next.js generate project with typescript


Generate Project

$ cd app/client
$ npx create-next-app . --typescript --use-yarn
$ npm run dev

$ yarn add -D @types/react @types/node