whitespace.d.ts 496 B

1234567891011121314
  1. import type { ExecuteRule } from '../interface';
  2. /**
  3. * Rule for validating whitespace.
  4. *
  5. * @param rule The validation rule.
  6. * @param value The value of the field on the source object.
  7. * @param source The source object being validated.
  8. * @param errors An array of errors that this rule may add
  9. * validation errors to.
  10. * @param options The validation options.
  11. * @param options.messages The validation messages.
  12. */
  13. declare const whitespace: ExecuteRule;
  14. export default whitespace;