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.
1 parent 9bbd981 commit 1569ae7Copy full SHA for 1569ae7
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