@nestjs/platform-express
Version:
Run NestJS on Express: the HTTP adapter with Express middleware, file uploads through Multer, static assets and view engines.
10 lines (9 loc) • 322 B
TypeScript
import { type NestInterceptor, type Type } from '@nestjs/common';
import { MulterOptions } from '../interfaces/multer-options.interface.js';
/**
* @param fieldName
* @param localOptions
*
* @publicApi
*/
export declare function FileInterceptor(fieldName: string, localOptions?: MulterOptions): Type<NestInterceptor>;