one
Version:
One is a new React Framework that makes Vite serve both native and web.
6 lines • 300 B
TypeScript
/**
* evict the oldest entries from a map when it exceeds a size threshold.
* entries are iterated in insertion order, so the first entries are the oldest.
*/
export declare function evictOldest(map: Map<any, any>, threshold: number, count: number): void;
//# sourceMappingURL=evictOldest.d.ts.map