Files
component-party/types/micache.d.ts
2025-09-21 23:13:53 +02:00

11 lines
292 B
TypeScript

declare module "micache" {
interface FsCache {
get(key: string): Promise<string | null>;
set(key: string, value: string): Promise<void>;
clear?(): Promise<void>;
delete?(key: string): Promise<boolean>;
}
export function createFsCache(name: string): Promise<FsCache>;
}