Skip to main content
Module

x/zod/types.ts>ZodType#default

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodType.prototype.default
import { ZodType } from "https://deno.land/x/zod@v3.22.4/types.ts";

Parameters

def: util.noUndefined<Input>

Parameters

def: () => util.noUndefined<Input>