Releases: github/multimap
Releases · github/multimap
1.0.0
- Added constructor consuming an iterable:
new MultiMap([['k', 1], ['k', 2]])
0.1.0
import MultiMap from '@github/multimap'
const map = new MultiMap<string, number>()
map.set('a', 1).set('a', 2)
map.get('a') // => Set([1, 2])