Module

x/zod/mod.ts>z.ZodDefaultDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface z.ZodDefaultDef
implements ZodTypeDef
import { type z } from "https://dotland.deno.dev/x/zod@v3.19.1/mod.ts";
const { ZodDefaultDef } = z;

Properties

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