FieldValidator
type exported by @mwillbanks/tuil-form.
type
Public type exported by @mwillbanks/tuil-form.
export type FieldValidator<T> = (
value: T,
context: ValidationContext,
) => string | undefined | Promise<string | undefined>;Members
This declaration has no public members.
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference