The type of the validation argument (e.g. minLength has number to represent the minimum length).
Type declaration
(validation: T): string
A function that receives the validation argument of a field, such as the minimum length or the regular expression,
and returns the error message for the field.
The type of the validation argument (e.g.
minLengthhasnumberto represent the minimum length).