UNPKG

@yobta/validator

Version:
8 lines 401 B
import type { YobtaSyncRule } from '../rule/rule.js'; import type { YobtaError } from '../YobtaError/index.js'; type YontaErrorHandler = (error: YobtaError) => void; export declare const validity: <I>(onUnhandledError: YontaErrorHandler, { validateAllFieldsOnChange }?: { validateAllFieldsOnChange?: boolean | undefined; }) => YobtaSyncRule<I, I>; export {}; //# sourceMappingURL=validity.d.ts.map