typescript-rest
typescript-rest copied to clipboard
Multer
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