Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.ZodErrorMap

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { ZodErrorMap } = z;
type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {
message: string;
}
;

§Type

§
(issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {
message: string;
}
[src]