Interface ZodInvalidUnionIssue

interface ZodInvalidUnionIssue {
    code: "invalid_union";
    message?: string;
    path: (string | number)[];
    unionErrors: ZodError<any>[];
}

Hierarchy (view full)

Properties

code: "invalid_union"
message?: string
path: (string | number)[]
unionErrors: ZodError<any>[]

Generated using TypeDoc