hoangvvo / next-connect

The TypeScript-ready, minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2
https://www.npmjs.com/package/next-connect
MIT License
1.64k stars 65 forks source link

ErrorHandler type miss `next` type #180

Closed 22mahmoud closed 2 years ago

22mahmoud commented 2 years ago

I found on this commit the next has been deleted from ErrorHandler type.

I believe we still need it, correct?

hoangvvo commented 2 years ago

Sorry about that. I accidentally remove it in one of the changes.