mutative
Version:
A JavaScript library for efficient immutable updates
15 lines (14 loc) • 594 B
TypeScript
export declare const mapHandler: {
[x: string]: number | ((callback: (value: any, key: any, self: any) => void, thisArg?: any) => void);
readonly size: number;
has(key: any): boolean;
set(key: any, value: any): any;
delete(key: any): boolean;
clear(): void;
forEach(callback: (value: any, key: any, self: any) => void, thisArg?: any): void;
get(key: any): any;
keys(): IterableIterator<any>;
values(): IterableIterator<any>;
entries(): IterableIterator<[any, any]>;
};
export declare const mapHandlerKeys: (string | number | symbol)[];