UNPKG

@graphql-tools/utils

Version:

Common package containing utils and types for GraphQL tools

8 lines (7 loc) 212 B
/** * ES6 Map with additional `add` method to accumulate items. */ export declare class AccumulatorMap<K, T> extends Map<K, Array<T>> { get [Symbol.toStringTag](): string; add(key: K, item: T): void; }