This is a really simple project that show the usage of TypeScript API.
The idea behind the example
This example shows how to integrate the TypeScript type system into Next.js. Since TypeScript is supported out of the box with Next.js, all we have to do is to install TypeScript.
npm install --save-dev typescript
npm install npm run dev