Skip to content

Commit

Permalink
fix: multiGet accepts read-only array (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhungry authored May 9, 2022
1 parent 681102f commit b044512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export type AsyncStorageStatic = {
* See https://react-native-async-storage.github.io/async-storage/docs/api#multiget
*/
multiGet: (
keys: string[],
keys: readonly string[],
callback?: MultiGetCallback
) => Promise<readonly KeyValuePair[]>;

Expand Down

0 comments on commit b044512

Please sign in to comment.