mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 04:59:02 +08:00
11 lines
292 B
TypeScript
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>;
|
|
}
|