ZodCatchDef
import type { ZodCatchDef } from "https://esm.sh/zod@3.25.76/index.d.cts";interface ZodCatchDef <T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
catchValue: (ctx: {
error: ZodError;
input: unknown;
}) => T["_input"];innerType: T;
typeName: ZodFirstPartyTypeKind.ZodCatch;
}§Type Parameters
§
T extends ZodTypeAny = ZodTypeAny
[src]