Interface ZodInvalidUnionIssue

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

Hierarchy (view full)

Properties

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