Type alias ZodFormattedError<T, U>

ZodFormattedError<T, U>: { _errors: U[] } & (T extends [any, ...any[]] ? { [ K in keyof T]?: ZodFormattedError<T[K]> } : T extends any[] ? { [k: number]: ZodFormattedError<T[number]> } : T extends object ? { [ K in keyof T]?: ZodFormattedError<T[K]> } : unknown)

Type Parameters

Type Parameters

  • T

  • U = string

Generated using TypeDoc