react-native-neat-date-picker icon indicating copy to clipboard operation
react-native-neat-date-picker copied to clipboard

TS Error

Open zRelux opened this issue 1 year ago • 1 comments

I upgraded from .9 to .12 and started getting this error:

node_modules/react-native-neat-date-picker/src/index.ts:3:15 - error TS2614: Module '"./components/NeatDatePicker"' has no exported member 'NeatDatePickerProps'. Did you mean to use 'import NeatDatePickerProps from "./components/NeatDatePicker"' instead?

3 import type { NeatDatePickerProps, ColorOptions } from './components/NeatDatePicker'
                ~~~~~~~~~~~~~~~~~~~

node_modules/react-native-neat-date-picker/src/index.ts:3:36 - error TS2614: Module '"./components/NeatDatePicker"' has no exported member 'ColorOptions'. Did you mean to use 'import ColorOptions from "./components/NeatDatePicker"' instead?

3 import type { NeatDatePickerProps, ColorOptions } from './components/NeatDatePicker'
                                     ~~~~~~~~~~~~


Found 2 errors in the same file, starting at: node_modules/react-native-neat-date-picker/src/index.ts:3

Looking at the code seems like TS is right any clue?

zRelux avatar May 30 '23 13:05 zRelux

Hi! Can you provide more info about your project? or create some example project to view the error.

diecodev avatar Jul 13 '23 09:07 diecodev