@types/redux-persist-webextension-storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/redux-persist-webextension-storage

Weekly Downloads

1,912

Version

1.0.3

License

MIT

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • types