UNPKG

angular-super-validator

Version:
16 lines (15 loc) 505 B
import { ValidatorFn } from '@angular/forms'; export declare class SuperValidators { /** * Validator that requires controls to have a value greater than a number. */ static min(min: number): ValidatorFn; /** * Validator that requires controls to have a value less than a number. */ static max(max: number): ValidatorFn; static hasNumber(): ValidatorFn; static hasUpper(): ValidatorFn; static hasLower(): ValidatorFn; static hasSpecial(): ValidatorFn; }