Skip to main content

Type Alias: inferFlattenedErrors<T, U>

inferFlattenedErrors<T, U> = $ZodFlattenedError<output<T>, U>

Defined in: packages/agentos/node_modules/zod/v4/classic/compat.d.cts:24

Type Parameters​

T​

T extends $ZodType

U​

U = string

Deprecated​

Use z.core.$ZodFlattenedError<z.output<T>> instead; it takes an inferred type, not a schema.