• Returns an object with { [keys]: value } inverted as { [value]: key }

    Type Parameters

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

    Parameters

    Returns Record<TValue, TKey>