Module

x/zod/external.ts>ZodCatchDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodCatchDef
implements ZodTypeDef
import { type ZodCatchDef } from "https://dotland.deno.dev/x/zod@v3.23.0-beta.0/external.ts";

Properties

innerType: T
catchValue: (ctx: { error: ZodError; input: unknown; }) => T["_input"]
typeName: ZodFirstPartyTypeKind.ZodCatch