@berish/validate
Version:
Validation of complex objects with support for validation maps, rules and decorators
7 lines (6 loc) • 503 B
TypeScript
import { IRulePlugin } from './abstract';
import { IValidateRule } from '../rule';
import * as globalMethodsImport from '../index';
export declare function useUpgradeRuleAfterInit(plugin: IRulePlugin, rule: IValidateRule<any>): IValidateRule<any>;
export declare function useUpgradeRuleAfterRegister(plugin: IRulePlugin, rule: IValidateRule<any>): IValidateRule<any>;
export declare function useUpgradeMethods(plugin: IRulePlugin, globalMethods: typeof globalMethodsImport): typeof globalMethodsImport;