Interface ZodDiscriminatedUnionDef<Discriminator, Options>

interface ZodDiscriminatedUnionDef<Discriminator, Options> {
    description?: string;
    discriminator: Discriminator;
    errorMap?: ZodErrorMap;
    options: Options;
    optionsMap: Map<Primitive, ZodDiscriminatedUnionOption<any>>;
    typeName: ZodDiscriminatedUnion;
}

Type Parameters

Hierarchy (view full)

Properties

description?: string
discriminator: Discriminator
errorMap?: ZodErrorMap
options: Options
optionsMap: Map<Primitive, ZodDiscriminatedUnionOption<any>>

Generated using TypeDoc