fox1t / fastify-multer

Fastify plugin for handling multipart/form-data
MIT License
89 stars 14 forks source link

Restore types of FastifyRequest #22

Closed trixden closed 1 year ago

trixden commented 2 years ago

Solves issue #16

robert-nash commented 2 years ago

It would be great to have this merged in if possible!

arthurfiorette commented 2 years ago

Hey @trixden, Can this PR also add an export clause here?

https://github.com/fox1t/fastify-multer/blob/c5dac5795251af0541f93fa41145ac5ce9b46d01/src/index.ts#L23

Currently, to use the Multer type, we need to use ReturnType<MulterFactory>.

fox1t commented 1 year ago

LGTM!