Next.js v5-beta with TypeScript example