UNPKG

@marblejs/middleware-multipart

Version:

A multipart/form-data middleware for Marble.js

5 lines 377 B
import { Observable } from 'rxjs'; import { HttpRequest } from '@marblejs/http'; import { WithFile, ParserOpts } from './multipart.interface'; export declare const multipart$: <File extends string>(opts?: ParserOpts) => <T extends HttpRequest<unknown, unknown, unknown>>(req$: Observable<T>) => Observable<T & WithFile<File>>; //# sourceMappingURL=multipart.middleware.d.ts.map