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 2d28e6a commit bc09647Copy full SHA for bc09647
zod/src/zod.ts
@@ -215,7 +215,7 @@ export function zodResolver<
215
schema: z4.$ZodType<Output, Input>,
216
schemaOptions: Zod4ParseParams | undefined, // already partial
217
resolverOptions: RawResolverOptions,
218
-): Resolver<z4.input<T>, Context, z4.input<T>>;
+): Resolver<z4.input<T>, Context, z4.output<T>>;
219
/**
220
* Creates a resolver function for react-hook-form that validates form data using a Zod schema
221
* @param {z3.ZodSchema<Input>} schema - The Zod schema used to validate the form data
0 commit comments