Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/index.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://deno.land/x/zod@v3.19.0/index.ts";
const { ZodDefaultDef } = z;

Properties

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