@metreeca/qest - v0.10.0
    Preparing search index...

    Type Alias Index<T>

    Index: keyof T extends infer K
        ? K extends Branch
            ? K
            : K extends number ? number extends K ? never : K : never
        : never

    Extracts the numeric-literal keys of a union frame, in both string ("0") and numeric (0) form.

    Declaration emit serialises numeric keys as bare numerics ({ 0; 1 }) rather than string literals ({ "0"; "1" }), so both forms must be matched for the collapse to survive a cross-package .d.ts round-trip. Wide number / string index signatures (for example Locales maps) are excluded so they keep mapping through Slots.

    Type Parameters

    • T

      The object type whose numeric-literal keys to extract