Skip to main content
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.2/ZodError.ts";

type

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