UNPKG

@agile-ts/multieditor

Version:

Simple Form Manager for UI-Frameworks

8 lines (7 loc) 665 B
import { ValidationMethodObjectInterface } from '../resolvers/agile'; export declare function isString(errorMessage?: string): ValidationMethodObjectInterface; export declare function maxLength(maxLength: number, errorMessage?: string): ValidationMethodObjectInterface; export declare function minLength(minLength: number, errorMessage?: string): ValidationMethodObjectInterface; export declare function isEmail(errorMessage?: string): ValidationMethodObjectInterface; export declare function isUrl(errorMessage?: string): ValidationMethodObjectInterface; export declare function matchesRegex(regex: RegExp, errorMessage?: string): ValidationMethodObjectInterface;