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

x/cav/test/test_deps.ts>zod.z.ZodFormattedError

A server framework for Deno
Go to Latest
type alias zod.z.ZodFormattedError
import { type zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { ZodFormattedError } = zod.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)