fuc-new/doc/node_modules/@vuepress-plume/plugin-search/lib/client/utils/index.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

12 lines
265 B
TypeScript

//#region src/client/utils/lru.d.ts
declare class LRUCache<K, V> {
private max;
private cache;
constructor(max?: number);
get(key: K): V | undefined;
set(key: K, val: V): void;
first(): K | undefined;
clear(): void;
}
//#endregion
export { LRUCache };