UNPKG

212 BTypeScriptView Raw
1/**
2 * ES6 Map with additional `add` method to accumulate items.
3 */
4export declare class AccumulatorMap<K, T> extends Map<K, Array<T>> {
5 get [Symbol.toStringTag](): string;
6 add(key: K, item: T): void;
7}