Files
klz-cables.com/.pnpm-store/v10/files/07/3ba0320be11a1a9bcf76227249b3f3037190554beb89f9f004146cae2036281d805ace8e7d380ebeadfabc374858e2db173a8f382f5eaf8cebd5970fc1e7c8
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

22 lines
808 B
Plaintext

/** A simple Least Recently Used map */
export declare class LRUMap<K, V> {
private readonly _maxSize;
private readonly _cache;
constructor(_maxSize: number);
/*Get the current size of the cache */
readonly size: number;
/** Get an entry or undefined if it was not in the cache. Re-inserts to update the recently used order */
get(key: K): V | undefined;
/** Insert an entry and evict an older entry if we've reached maxSize */
set(key: K, value: V): void;
/** Remove an entry and return the entry if it was in the cache */
remove(key: K): V | undefined;
/** Clear all entries */
clear(): void;
/** Get all the keys */
keys(): Array<K>;
/** Get all the values */
values(): Array<V>;
}
//# sourceMappingURL=lru.d.ts.map