UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

15 lines 357 B
export class AccumulatorMap extends Map { get [Symbol.toStringTag]() { return 'AccumulatorMap'; } add(key, item) { const group = this.get(key); if (group === undefined) { this.set(key, [item]); } else { group.push(item); } } } //# sourceMappingURL=AccumulatorMap.js.map