Interface ZodUnionDef<T>

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

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
options: T
typeName: ZodUnion