By default, all error messages are strings
. But if you build an i18n'ized app, you can set message
type in the form config to own type. E.g.:
type message = I18n.t;
Then errors returned from all validators must be of this type.
Next: Caveats →
By default, all error messages are strings
. But if you build an i18n'ized app, you can set message
type in the form config to own type. E.g.:
type message = I18n.t;
Then errors returned from all validators must be of this type.
Next: Caveats →