Files
blog/node_modules/hexo-util/dist/cache.d.ts
2025-07-16 16:30:56 +00:00

17 lines
383 B
TypeScript

declare const _default: {
new <T>(): {
cache: Map<string, T>;
set(id: string, value: T): void;
has(id: string): boolean;
get(id: string): T;
del(id: string): void;
apply(id: string, value: any): T;
flush(): void;
size(): number;
dump(): {
[k: string]: T;
};
};
};
export = _default;