Traqula
    Preparing search index...

    Type Alias ParseIndirsToObject<T, Names, Agg>

    ParseIndirsToObject: T extends readonly [infer First, ...(infer Rest)]
        ? First extends IndirDef
            ? Rest extends readonly IndirDef[]
                ? ParseIndirsToObject<
                    Rest,
                    Names,
                    {
                        [K in keyof Agg
                        | First["name"]]: K extends First["name"] ? First : Agg[K]
                    },
                >
                : never
            : never
        : IndirectionMap<Names> & Agg

    Convert a list of IndirDefs to a Record with the name of the IndirDef as the key, matching the IndirectionMap type.

    Type Parameters