Skip to content

Commit f09e1c7

Browse files
committed
fix type defination for useMMKVStorage Hook
1 parent d799f2b commit f09e1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare function MMKVStorage(): any;
22

3-
export declare function useMMKVStorage(key:string,storage:MMKVStorage.API):[value:string,setValue:(value:any)=>void];
3+
export declare function useMMKVStorage(key:string,storage:MMKVStorage.API):[value:any,setValue:(value?:any)=>void];
44

55
export default MMKVStorage;
66

0 commit comments

Comments
 (0)