Interface ZodInvalidLiteralIssue

interface ZodInvalidLiteralIssue {
    code: "invalid_literal";
    expected: unknown;
    message?: string;
    path: (string | number)[];
    received: unknown;
}

Hierarchy (view full)

Properties

code: "invalid_literal"
expected: unknown
message?: string
path: (string | number)[]
received: unknown

Generated using TypeDoc