Installation
npm install --save @types/redux-persist-webextension-storage
Summary
This package contains type definitions for redux-persist-webextension-storage (https://github.com/ssorallen/redux-persist-webextension-storage).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-persist-webextension-storage.
index.d.ts
interface StorageInterface {
getItem(key: string): Promise<any>;
removeItem(key: string): Promise<void>;
setItem(key: string, value: any): Promise<void>;
}
export const localStorage: StorageInterface;
export const syncStorage: StorageInterface;
export {};
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Marton Lederer.