External module "validation/index"
Functions
Const toValidationErrors
- toValidationErrors<FD>(ioTsErrors: Errors, defaultMessage: function): ValidationErrors<FD>
-
Type parameters
Parameters
-
ioTsErrors: Errors
-
defaultMessage: function
-
- (e: ValidationError): string
-
Parameters
Returns string
Converts an io-ts Errors to a (strongly typed version of) final-form ValidationErrors.