UNPKG

nestjs-custom-class-validators

Version:

This package contains a few custom validator I have found to be repetitive, So I made templates that handles both class-validator checks and Swagger configuration

3 lines (2 loc) 200 B
import { ICustomTimeValidatorOptions } from '../dto/customValidatorOptions.dto'; export declare function CustomTimeValidator(details: ICustomTimeValidatorOptions): (target: any, key: string) => void;