UNPKG

validator-list

Version:
14 lines (13 loc) 533 B
import { BaseValidator, IBaseValidatorOptions } from './base-validator'; export interface IBaseCompareValidatorOptions extends IBaseValidatorOptions { compareValue: any; operator: string; } export declare class BaseCompareValidator extends BaseValidator { message: string; compareValue: any; operator: string; constructor(attributeLabel: string, value: any, options?: IBaseCompareValidatorOptions); protected getOptionNameList(...childrenList: any[]): string[]; copmare(compareValue: any): boolean; }