UNPKG

@nestjs/platform-fastify

Version:

Run NestJS on Fastify: the HTTP adapter with Fastify's plugins, JSON schemas and serialization.

13 lines (12 loc) • 506 B
import type { NestInterceptor, Type } from '@nestjs/common'; import type { MultipartOptions } from '../interfaces/index.js'; /** * Accepts every file, in any field, and exposes them as an array in * `req.files` (`@UploadedFiles()`). The Fastify counterpart of * platform-express's `AnyFilesInterceptor`. * * @param localOptions options merged over the `MultipartModule` defaults * * @publicApi */ export declare function AnyFilesInterceptor(localOptions?: MultipartOptions): Type<NestInterceptor>;