UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

12 lines (11 loc) • 442 B
/** * Records that the pipes of `request` rejected it, so its route handler did * not run. */ export declare function markRejectedByPipes(request: unknown): void; /** * Whether the pipes of `request` rejected it, so its route handler did not * run. An interceptor can then release what it prepared for the handler, * e.g. the files an upload interceptor stored. */ export declare function isRejectedByPipes(request: unknown): boolean;