Gets top level list of error keys from model.
Used for user defined validation, allows returning simple errors as string or array of string. Result for each key then converted to IValidationError array.
Using top level model keys creates type with value of IValidationErrors in array.
Resulting object upon initializing useFields.
Infers the return type of a passed function.
Extracts key from type as string.
Typed model for Error Model promises.
Type which when called returns an React ref of HTMLElement.
Interface for registering an element.
Handler type for form submission.
Validation handler function for user defined validationSchema.
Generic type for either yup ObjectSchema or user defined Validation Schema handler function.
Extracts value from type using key of type as string.
Generated using TypeDoc
Create useFields type returning IUseFields.