epps
Version:
Enhances Pinia stores with advanced features such as persistence, encryption, and store extension. Simplifies state management and ensures data security for Vue.js and Nuxt applications.
11 lines (10 loc) • 394 B
TypeScript
import { ClientStorage, StorageItem } from "../../types/storage";
export declare class IndexedDB implements ClientStorage {
private _store;
clear(): void;
private keyToString;
getItem(key: string | number): Promise<StorageItem | undefined>;
removeItem(key: string | number): void;
removeItems(excludedItems?: any[]): void;
setItem(item: any, index: string): void;
}