Interface ZodCustomIssue

interface ZodCustomIssue {
    code: "custom";
    message?: string;
    params?: {
        [k: string]: any;
    };
    path: (string | number)[];
}

Hierarchy (view full)

Properties

code: "custom"
message?: string
params?: {
    [k: string]: any;
}

Type declaration

  • [k: string]: any
path: (string | number)[]

Generated using TypeDoc