UNPKG

cose-kit

Version:

**DEPRECATED:** Use [@auth0/cose](https://www.npmjs.com/package/@auth0/cose).

8 lines (7 loc) 232 B
/** * Creates a new map with the keys and values of the given map swapped. * * @param map {Map<K, V>} the original map * @returns {Map<V, K>} the new map */ export declare const reverseMap: <K, V>(map: Map<K, V>) => Map<V, K>;