File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/default-storage/src Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
import type { ErrorLike } from "./types" ;
2
2
3
- export function checkValidArgs ( keyValuePairs : unknown [ ] , callback : unknown ) {
3
+ export function checkValidArgs (
4
+ keyValuePairs : readonly unknown [ ] ,
5
+ callback : unknown
6
+ ) {
4
7
if (
5
8
! Array . isArray ( keyValuePairs ) ||
6
9
keyValuePairs . length === 0 ||
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export type AsyncStorageStatic = {
128
128
* See https://react-native-async-storage.github.io/async-storage/docs/api#multiset
129
129
*/
130
130
multiSet : (
131
- keyValuePairs : [ string , string ] [ ] ,
131
+ keyValuePairs : ReadonlyArray < readonly [ string , string ] > ,
132
132
callback ?: MultiCallback
133
133
) => Promise < void > ;
134
134
You can’t perform that action at this time.
0 commit comments