Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias zod.z.typeToFlattenedError
import { type zod } from "https://deno.land/x/cav@0.0.24/test/test_deps.ts";
const { typeToFlattenedError } = zod.z;

Type Parameters

T
optional
U = string
definition: { formErrors: U[]; fieldErrors: [P in allKeys<T>]?: U[]; }