x/zod/types.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodDefaultDef
implements ZodTypeDef
import { type ZodDefaultDef } from "https://deno.land/x/zod@v3.17.3/types.ts?s=ZodDefaultDef";

Type Parameters

optional
T extends ZodTypeAny = ZodTypeAny
[src]

Properties

innerType: T[src]
defaultValue: () => util.noUndefined<T["_input"]>[src]
typeName: ZodFirstPartyTypeKind.ZodDefault[src]