UNPKG

fluent-ts-validator

Version:
10 lines (9 loc) 288 B
import { PropertyValidator } from "../PropertyValidator"; export declare class HasLengthValidator implements PropertyValidator<string> { private options; constructor(options: { min?: number; max?: number; }); isValid(input: string | undefined): boolean; }