saltyshiomix / ark

An easiest authentication system on top of NestJS, TypeORM, NEXT.js(v9.3) and Material UI(v4).
MIT License
259 stars 17 forks source link

NextJS types #3

Closed neonfuz closed 5 years ago

neonfuz commented 5 years ago

This is an odd one. After I added @types/next I started getting errors from the next-integration service because apparently you've used some types that aren't real from nextjs (Renderer, ErrorRenderer, RequestHandler). I found the actual corresponding types as subtypes of Server in @types/next-server and added proxies to them in a local file in the next-integration module directory.