UNPKG

validatorshield

Version:

Universal validation (frontend + backend) with TypeScript. Includes common rules and Sequelize-backed async rules (unique, exists).

3 lines (2 loc) 133 B
import { RuleContext } from '../validator'; export declare function same(value: any, ctx: RuleContext, otherField: string): boolean;