Coda by Ian Macalinao
    Preparing search index...

    Interface EnumTypeNode<TVariants, TSize>

    A tagged union: a numeric discriminator followed by one of several variant payloads.

    interface EnumTypeNode<
        TVariants extends EnumVariantTypeNode[] = EnumVariantTypeNode[],
        TSize extends
            NestedTypeNode<NumberTypeNode> = NestedTypeNode<NumberTypeNode>,
    > {
        kind: "enumTypeNode";
        size: TSize;
        variants: TVariants;
    }

    Type Parameters

    Index
    kind: "enumTypeNode"
    size: TSize

    The numeric type used to serialise the discriminator.

    variants: TVariants

    The variants of the enum, in declaration order.