AsyncValidationResult
Type Alias
An asynchronous validation result where all errors explicitly define their target field.
API
type AsyncValidationResult<E extends ValidationError = ValidationError> = | ValidationResult<E> | 'pending'
Description
An asynchronous validation result where all errors explicitly define their target field.
The result may be one of the following:
- A
ValidationResult
to indicate the result if resolved. - 'pending' if the validation is not yet resolved.
Jump to details