Skip to main content
Module

x/zod/mod.ts>z.ZodFormattedError

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias z.ZodFormattedError
import { type z } from "https://deno.land/x/zod@3.0.0-alpha.39/mod.ts";
const { ZodFormattedError } = z;
definition: T extends [any, ...any] ? [K in keyof T]?: ZodFormattedError<T[K]> & { _errors: string[]; } : T extends any[] ? ZodFormattedError<T[number]>[] & { _errors: string[]; } : T extends object ? [K in keyof T]?: ZodFormattedError<T[K]> & { _errors: string[]; } : { _errors: string[]; }