Interface ZodInvalidEnumValueIssue

interface ZodInvalidEnumValueIssue {
    code: "invalid_enum_value";
    message?: string;
    options: (string | number)[];
    path: (string | number)[];
    received: string | number;
}

Hierarchy (view full)

Properties

code: "invalid_enum_value"
message?: string
options: (string | number)[]
path: (string | number)[]
received: string | number

Generated using TypeDoc