• Map over all the keys of an object to return a new object

    Type Parameters

    • TValue
    • TKey extends string | number | symbol
    • TNewKey extends string | number | symbol

    Parameters

    Returns Record<TNewKey, TValue>