UNPKG

@cch137/format-utils

Version:

A collection of utility modules for formatting and processing data

19 lines 723 B
export default class BigMap<K = any, V = any> implements Map<K, V> { private static readonly MAX_SIZE; private readonly segs; constructor(entries?: readonly (readonly [K, V])[] | null); get(key: K): V | undefined; has(key: K): boolean; set(key: K, value: V): this; delete(key: K): boolean; clear(): void; forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void; entries(): IterableIterator<[K, V]>; keys(): IterableIterator<K>; values(): IterableIterator<V>; get size(): number; get _size(): bigint; get [Symbol.iterator](): () => IterableIterator<[K, V]>; get [Symbol.toStringTag](): string; } //# sourceMappingURL=index.d.ts.map