interface ZodUnionDef<
    T extends
        ZodUnionOptions = Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>,
> {
    description?: string;
    errorMap?: ZodErrorMap;
    options: T;
    typeName: ZodUnion;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: ZodErrorMap
options: T
typeName: ZodUnion