thiagobustamante / typescript-rest

This is a lightweight annotation-based expressjs extension for typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multer

giladsch opened this issue · comments

How to i use multer with the library?
I use multer for uploading files.
In my code I have export upload Array = multer({}).array('files').
And it is kind of Middleware that accept the request and the response but I don't have them so I can I get them or have some workaround?
So if some one use this library with multer I would like to know how.

Checkout the @FileParam decorator for your request parameters: https://github.com/thiagobustamante/typescript-rest/wiki/Request-Parameters