Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.inferFlattenedErrors

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { inferFlattenedErrors } = z;
type inferFlattenedErrors<T extends ZodType<any, any, any>, U = string> = typeToFlattenedError<TypeOf<T>, U>;

§Type Parameters

§
T extends ZodType<any, any, any>
[src]
§
U = string
[src]

§Type