Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "validation/index"

Index

Functions

Functions

Const toValidationErrors

  • toValidationErrors<FD>(ioTsErrors: Errors, defaultMessage: function): ValidationErrors<FD>
  • Converts an io-ts Errors to a (strongly typed version of) final-form ValidationErrors.

    Type parameters

    Parameters

    • ioTsErrors: Errors
    • defaultMessage: function
        • (e: ValidationError): string
        • Parameters

          • e: ValidationError

          Returns string

    Returns ValidationErrors<FD>

Generated using TypeDoc