We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b14f8a commit ddc26d3Copy full SHA for ddc26d3
src/persisters/persister-react-native-mmkv/index.ts
@@ -1,5 +1,4 @@
1
-import {MMKV} from 'react-native-mmkv';
2
-import type {Listener} from 'react-native-mmkv/lib/typescript/src/Types.d.ts';
+import type {MMKV} from 'react-native-mmkv';
3
import type {MergeableStore} from '../../@types/mergeable-store/index.d.ts';
4
import type {
5
PersistedContent,
@@ -10,6 +9,10 @@ import type {
10
9
import type {Store} from '../../@types/store/index.d.ts';
11
import {createCustomPersister} from '../common/create.ts';
12
+interface Listener {
13
+ remove: () => void;
14
+}
15
+
16
const STORAGE = 'storage';
17
18
export const createReactNativeMmkvPersister = (
0 commit comments