We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9000207 + 1569ae7 commit 707669bCopy full SHA for 707669b
src/types.ts
@@ -67,7 +67,7 @@ export type FieldElement<TFieldValues extends FieldValues = FieldValues> =
67
68
export type Message = string;
69
70
-export type ValidateResult = Message | boolean | undefined;
+export type ValidateResult = Message | Message[] | boolean | undefined;
71
72
export type MultipleFieldErrors = Record<string, ValidateResult>;
73
0 commit comments