UNPKG

@tsclean/core

Version:

Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.

13 lines 610 B
import { Observable } from 'rxjs'; import { MulterOptions } from '../interfaces'; import { CallHandlerInterface, ExecutionContextInterface, InterceptorInterface } from "../../contracts"; type MulterInstance = any; export declare class FileInterceptor implements InterceptorInterface { protected multer: MulterInstance; protected options: any; protected fieldName: string; constructor(options?: MulterOptions, fieldName?: string); intercept(context: ExecutionContextInterface, next: CallHandlerInterface): Promise<Observable<any>>; } export {}; //# sourceMappingURL=file.interceptor.d.ts.map