Skip to content

Commit b044512

Browse files
authored
fix: multiGet accepts read-only array (#803)
1 parent 681102f commit b044512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export type AsyncStorageStatic = {
123123
* See https://react-native-async-storage.github.io/async-storage/docs/api#multiget
124124
*/
125125
multiGet: (
126-
keys: string[],
126+
keys: readonly string[],
127127
callback?: MultiGetCallback
128128
) => Promise<readonly KeyValuePair[]>;
129129

0 commit comments

Comments
 (0)