hoangvvo / next-connect

The TypeScript-ready, minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2

Home Page:https://www.npmjs.com/package/next-connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type error: try to use multer with next connect

DarlonHenrique opened this issue · comments

Im trying to use next connect to my middlware but i have no idea how i can do this, because everything i try i have error

Screen Shot 2022-12-09 at 4 53 50 PM

Screen Shot 2022-12-09 at 5 00 43 PM

Heads up @DarlonHenrique. I used this package for a bunch of projects but have started to move away. I know this does not help your answer but it seems like the package isn't getting updated anymore. I have recently switched to trpc and trust me. It makes next-connect look like vanilla JS and trpc the TypeScript equivalent.