opendash
Version:
open.DASH data visualization framework
16 lines (15 loc) • 502 B
TypeScript
import { StorageAdapterInterface, StorageAdapterContext } from "..";
interface AdapterOptions {
scope: string;
}
export declare class StorageAdapterLS implements StorageAdapterInterface {
private context;
private options;
constructor(options?: Partial<AdapterOptions>);
onContext(context: StorageAdapterContext): void;
private init;
set(key: string, value: any): Promise<void>;
delete(key: string): Promise<void>;
clear(): Promise<void>;
}
export {};