x/zod/mod.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
variable defaultErrorMap
import { defaultErrorMap } from "https://deno.land/x/zod@v3.17.3/mod.ts?s=defaultErrorMap";
(issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => { message: string; }[src]
import defaultErrorMap
import { defaultErrorMap } from "https://deno.land/x/zod@v3.17.3/mod.ts?s=defaultErrorMap";