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

x/zod/ZodError.ts>defaultErrorMap

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable defaultErrorMap
import { defaultErrorMap } from "https://deno.land/x/zod@v3.18.0/ZodError.ts";

type

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