Skip to content

Commit 104bfef

Browse files
callaarsKrzysztof Borowy
authored andcommitted
fix: Allow void for ItemGetCallbackType in mock storage
1 parent 7042363 commit 104bfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest/async-storage-mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
type KeysType = Array<string>;
77
type KeyValueType = Array<Array<*>>;
88
type CallbackType = ((?Error) => void) | void;
9-
type ItemGetCallbackType = (?Error, ?string) => void;
9+
type ItemGetCallbackType = ((?Error, ?string) => void) | void;
1010
type ResultCallbackType = ((?Error, ?KeyValueType) => void) | void;
1111

1212
const asMock = {

0 commit comments

Comments
 (0)