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

x/pup/deps.ts>z.typeToFlattenedError

Universal process manager built in Deno
Go to Latest
type alias z.typeToFlattenedError
import { type z } from "https://deno.land/x/pup@1.0.0-alpha-15/deps.ts";
const { typeToFlattenedError } = z;

Type Parameters

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