@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
18 lines (14 loc) • 354 B
TypeScript
/**
*/
export declare class BrowserStorageClient {
data: any;
timeout: number | null;
namespace: string;
storage: Storage;
constructor(storage: Storage, namespace?: string | null);
save(id: string, content: any): void;
load(id: string): any;
clear(id: string): void;
private debouncePersist;
private persist;
}