next is in typescript code example Example: next with typescript yarn add --dev typescript @types/react @types/node