Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
type alias z.typeToFlattenedError
import { type z } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";
const { typeToFlattenedError } = z;

Type Parameters

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