UNPKG

nowjs-core

Version:

NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence

9 lines (8 loc) 518 B
import { StringFormatType } from '../../utils/index'; import { PatternValidatorBase } from './index'; export declare const VALIDATOR_NEGATIVE_METADATA_KEY: unique symbol; export declare function negative(errorMessage?: StringFormatType): (target: Record<string, any>, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>) => void; export declare const PATTERN_NEGATIVE: RegExp; export declare class NegativeValidator extends PatternValidatorBase { constructor(errorMessage?: StringFormatType); }