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) 188 B
import { ICustomStringOptions } from "../dto/customValidatorOptions.dto"; export declare function CustomStringValidator(details: ICustomStringOptions): (target: any, key: string) => void;