x/zod/index.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
type alias ZodFormattedError
import { type ZodFormattedError } from "https://deno.land/x/zod@v3.17.3/index.ts?s=ZodFormattedError";

Type Parameters

optional
U = string
[src]
definition: { _errors: U[]; } & (T extends [any, ...any[]] ? [K in keyof T]?: ZodFormattedError<T[K]> : T extends any[] ? { [k: number]: ZodFormattedError<T[number]>; } : T extends object ? [K in keyof T]?: ZodFormattedError<T[K]> : unknown)[src]