Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias Resolver
Re-export
import { type Resolver } from "https://deno.land/x/netzo@0.3.66/deps/@hookform/resolvers/zod.ts";
definition: <T extends z.Schema<any, any>>(
schema: T,
schemaOptions?: Partial<z.ParseParams>,
factoryOptions?: { mode?: "async" | "sync"; raw?: boolean; },
) => <TFieldValues extends FieldValues, TContext>(
values: TFieldValues,
context: TContext | undefined,
options: ResolverOptions<TFieldValues>,
) => Promise<ResolverResult<TFieldValues>>