Skip to content

Commit 298bbb0

Browse files
authored
fix: multiRemove should accept readonly string[] (#787)
1 parent 834d67f commit 298bbb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/types.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ export type AsyncStorageStatic = {
143143
*
144144
* See https://react-native-async-storage.github.io/async-storage/docs/api#multiremove
145145
*/
146-
multiRemove: (keys: string[], callback?: MultiCallback) => Promise<void>;
146+
multiRemove: (
147+
keys: readonly string[],
148+
callback?: MultiCallback
149+
) => Promise<void>;
147150

148151
/**
149152
* Batch operation to merge in existing and new values for a given set of

0 commit comments

Comments
 (0)