Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/index.ts>z.inferFormattedError

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

Type Parameters

T extends ZodType<any, any, any>
optional
U = string
definition: ZodFormattedError<TypeOf<T>, U>