_app nextjs typescript code example
Example 1: nextjs with typescrip example
npx create-next-app --example with-typescript with-typescript-app
# or
yarn create next-app --example with-typescript with-typescript-app
Example 2: next with typescript
yarn add --dev typescript @types/react @types/node