@arcmantle/library
    Preparing search index...

    Type Alias ObjectOfKeys<TKeys, TVal>

    ObjectOfKeys: TKeys extends []
        ? Record<string, TVal>
        : Interface<Record<TKeys[number], TVal>>

    Creates an object with the provided list of TKeys where each value is a TVal

    If the list of TKeys is empty a record of TVal is created instead.

    Type Parameters

    • TKeys extends readonly string[]
    • TVal = any