UNPKG

validator-list

Version:
12 lines (11 loc) 466 B
import { BaseValidator, IBaseValidatorOptions } from './base-validator'; export interface IBooleanValidatorOptions extends IBaseValidatorOptions { strict: boolean; } export declare class BooleanValidator extends BaseValidator { message: string; strict: boolean; constructor(attributeLabel: string, value: any, options?: IBooleanValidatorOptions); protected getOptionNameList(...childrenList: any[]): string[]; validate(): string | boolean; }