跳到主要内容
版本:Next

DecoratorValidPipe

Hierarchy

Index

Constructors

constructor

Methods

transform

  • transform(value: any, options: TransformOptions<unknown>): any

validate

  • validate(value: any, options: TransformOptions<unknown>): any

validateWithSchema

  • validateWithSchema(value: any, options: TransformOptions<unknown>, schema: AnySchema<any>): any