PromoCursed/node_modules/@rc-component/async-validator/lib/rule/whitespace.d.ts
2024-08-20 23:25:37 +04:00

15 lines
496 B
TypeScript

import type { ExecuteRule } from '../interface';
/**
* Rule for validating whitespace.
*
* @param rule The validation rule.
* @param value The value of the field on the source object.
* @param source The source object being validated.
* @param errors An array of errors that this rule may add
* validation errors to.
* @param options The validation options.
* @param options.messages The validation messages.
*/
declare const whitespace: ExecuteRule;
export default whitespace;