Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types for getItem and setItem are flipped #24

Open
Jackman3005 opened this issue Nov 22, 2022 · 0 comments
Open

Types for getItem and setItem are flipped #24

Jackman3005 opened this issue Nov 22, 2022 · 0 comments

Comments

@Jackman3005
Copy link

The types for ReduxPersistExpoSecureStore functions getItem and setItem appear to be flipped and causes type errors when I want to work with the storage solution directly.

See current typings:

export interface ReduxPersistExpoSecureStore {
  getItem(key: string, value: string): Promise<void>;

  setItem(key: string): Promise<string | null>;

  removeItem(key: string): Promise<void>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant