Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/zod.ts>z.ZodFormattedError

A frugal web framework
Go to Latest
type alias z.ZodFormattedError
import { type z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { ZodFormattedError } = z;

Type Parameters

T
optional
U = string
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)