bupkis
    Preparing search index...

    Interface $ZodUnionInternals<T>

    interface $ZodUnionInternals<
        T extends readonly SomeType[] = readonly z.core.$ZodType[],
    > {
        def: $ZodUnionDef<T>;
        output: $InferUnionOutput<T[number]>;
        input: $InferUnionInput<T[number]>;
        version: { major: 4; minor: 1; patch: number };
        toJSONSchema?: () => unknown;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Schema definition.

    output: $InferUnionOutput<T[number]>
    input: $InferUnionInput<T[number]>
    version: { major: 4; minor: 1; patch: number }

    The @zod/core version of this schema

    toJSONSchema?: () => unknown

    An optional method used to override toJSONSchema logic.