UNPKG

angular-super-validator

Version:
17 lines (16 loc) 740 B
import { ValidatorFn } from '@angular/forms'; export declare class RichValidator { static unBase64(str: string): string; static base64(str: string): string; static email(): ValidatorFn; static phone(): ValidatorFn; static between(min: number, max: number, inclusive?: boolean): ValidatorFn; static creditCard(): ValidatorFn; cvv(number: string): ValidatorFn; notInclude(str: string, strict?: boolean): ValidatorFn; includes(str: string, strict?: boolean): ValidatorFn; different(str: string, strict?: boolean): ValidatorFn; identical(str: string): ValidatorFn; greaterThan(number: number, decimalsLen?: number): ValidatorFn; lessThan(number: number, decimalsLen?: number): ValidatorFn; }