UNPKG

@nestjs/platform-express

Version:

Run NestJS on Express: the HTTP adapter with Express middleware, file uploads through Multer, static assets and view engines.

3 lines (2 loc) • 372 B
import type { NestExpressBodyParserOptionsFor, NestExpressBodyParserOptionsMap, NestExpressBodyParserType } from '../../interfaces/index.js'; export declare function getBodyParserOptions<ParserType extends NestExpressBodyParserType>(parser: ParserType, rawBody: boolean, options?: NestExpressBodyParserOptionsFor<ParserType>): NestExpressBodyParserOptionsMap[ParserType];