Interface ZodInvalidUnionDiscriminatorIssue

interface ZodInvalidUnionDiscriminatorIssue {
    code: "invalid_union_discriminator";
    message?: string;
    options: Primitive[];
    path: (string | number)[];
}

Hierarchy (view full)

Properties

code: "invalid_union_discriminator"
message?: string
options: Primitive[]
path: (string | number)[]

Generated using TypeDoc