UNPKG

@gabliam/validate-class

Version:
10 lines (9 loc) 316 B
import { Pipe } from '@gabliam/web-core'; import { Validate } from '../metadatas'; export declare class ValidatePipe implements Pipe { private options; constructor(options: Validate); transform(value: any, type?: any): Promise<any>; toEmptyIfNil<T = any>(value: T): T | {}; private toValidate; }