UNPKG

@kitstack/nest-powertools

Version:

A comprehensive collection of NestJS powertools, decorators, and utilities to supercharge your backend development

9 lines (8 loc) 361 B
import { type ArgumentMetadata, type PipeTransform } from '@nestjs/common'; import type { ValidationOptions } from '../types'; export declare class ValidationPipe implements PipeTransform<any> { private options; constructor(options?: ValidationOptions); transform(value: any, { metatype }: ArgumentMetadata): Promise<any>; private toValidate; }