shopper
Version:
plug shopify into any website
13 lines (12 loc) • 366 B
TypeScript
export interface DataStore {
getItem(key: string): Promise<any>;
setItem(key: string, value: any): Promise<void>;
}
export declare class SimpleDataStore implements DataStore {
private _storage;
constructor({ storage }: {
storage: Storage;
});
getItem(key: string): Promise<any>;
setItem(key: string, value: any): Promise<void>;
}