astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
16 lines (15 loc) • 406 B
TypeScript
export declare class PreferenceStore {
private dir;
private file;
constructor(dir: string, filename?: string);
private _store?;
private get store();
private set store(value);
write(): void;
clear(): void;
delete(key: string): boolean;
get(key: string): any;
has(key: string): boolean;
set(key: string, value: any): void;
getAll(): Record<string, any>;
}