form-graph
    Preparing search index...

    Type Alias InferArm<G, K, V>

    InferArm: InferData<G> extends infer U
        ? U extends unknown
            ? K extends keyof U ? V extends U[K] & string ? U : never : never
            : never
        : never

    SUBSET-matching, not Extract: a grouped pair's arm carries a literal UNION on the discriminator ({ ecosystem: 'SD1' | 'SDXL' | ... }), which Extract by a single literal would drop. An arm matches when any of the requested literals is one of the arm's.

    Type Parameters

    • G
    • K extends string
    • V extends string