@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.
7 lines (6 loc) • 413 B
TypeScript
import type { ArgumentMetadata, PipeTransform } from '@nestjs/common';
export declare class PipesConsumer {
private readonly paramsTokenFactory;
apply<TInput = unknown>(value: TInput, metadata: ArgumentMetadata, pipes: PipeTransform[]): Promise<unknown>;
applyPipes<TInput = unknown>(value: TInput, { metatype, type, data, schema }: ArgumentMetadata, transforms: PipeTransform[]): Promise<unknown>;
}