Open vasteez opened 1 year ago
Describe the bug On this package version 0.8.0 (I am upgrading from 0.6.6 due to new RN) I get a bunch of typescript errors, probably due to my TS being 3.8.
Additional context I get these kind of errors
node_modules/react-native-mmkv-storage/dist/src/hooks/useMMKV.d.ts:76:17 - error TS1005: ',' expected. 76 setValue: (value: T | ((prevValue: T) => T)) => void ~ node_modules/react-native-mmkv-storage/dist/src/types/index.d.ts:50:48 - error TS1005: ',' expected. 50 export declare type GenericReturnType<T> = [key: string, value: T | null | undefined]; ~ node_modules/react-native-mmkv-storage/dist/src/types/index.d.ts:50:63 - error TS1005: ',' expected. 50 export declare type GenericReturnType<T> = [key: string, value: T | null | undefined]; ~
Is a higher TS version a must or is there any patch for this?
Describe the bug On this package version 0.8.0 (I am upgrading from 0.6.6 due to new RN) I get a bunch of typescript errors, probably due to my TS being 3.8.
Additional context I get these kind of errors
Is a higher TS version a must or is there any patch for this?