Skip to main content
Module

x/zod/index.ts>z.defaultErrorMap

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable z.defaultErrorMap
Re-export
import { z } from "https://deno.land/x/zod@v3.17.10/index.ts";
const { defaultErrorMap } = z;

type

(issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => { message: string; }