mutative
Version:
A JavaScript library for efficient immutable updates
15 lines (14 loc) • 501 B
TypeScript
import { iteratorSymbol } from './constant';
export declare const setHandler: {
readonly size: number;
has(value: any): boolean;
add(value: any): /*elided*/ any;
delete(value: any): boolean;
clear(): void;
values(): IterableIterator<any>;
entries(): IterableIterator<[any, any]>;
keys(): IterableIterator<any>;
[Symbol.iterator](): IterableIterator<any>;
forEach(callback: any, thisArg?: any): void;
};
export declare const setHandlerKeys: (string | symbol)[];