File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ const AsyncStorage = ((): AsyncStorageStatic => {
269
269
reject : null as any ,
270
270
} ;
271
271
272
- const promiseResult = new Promise < readonly KeyValuePair [ ] | void > (
272
+ const promiseResult = new Promise < readonly KeyValuePair [ ] > (
273
273
( resolve , reject ) => {
274
274
getRequest . resolve = resolve ;
275
275
getRequest . reject = reject ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export type MultiRequest = {
23
23
keys : readonly string [ ] ;
24
24
callback ?: MultiGetCallback ;
25
25
keyIndex : number ;
26
- resolve ?: ( result ? : readonly KeyValuePair [ ] ) => void ;
26
+ resolve ?: ( result : readonly KeyValuePair [ ] ) => void ;
27
27
reject ?: ( error ?: any ) => void ;
28
28
} ;
29
29
@@ -125,7 +125,7 @@ export type AsyncStorageStatic = {
125
125
multiGet : (
126
126
keys : string [ ] ,
127
127
callback ?: MultiGetCallback
128
- ) => Promise < readonly KeyValuePair [ ] | void > ;
128
+ ) => Promise < readonly KeyValuePair [ ] > ;
129
129
130
130
/**
131
131
* Use this as a batch operation for storing multiple key-value pairs. When
You can’t perform that action at this time.
0 commit comments