shahabyazdi / react-multi-date-picker

a simple React datepicker component for working with gregorian, persian, arabic and indian calendars
https://shahabyazdi.github.io/react-multi-date-picker/
MIT License
831 stars 102 forks source link

TS declaration module error on import transition #166

Open AmirHosseinKarimi opened 1 year ago

AmirHosseinKarimi commented 1 year ago

Hi. I am trying to import the transition module on a TypeScript project and got the following error on the import statement line:

Could not find a declaration file for module 'react-element-popper/animations/transition'. '/node_modules/react-element-popper/animations/transition.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/react-element-popper` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-element-popper/animations/transition';`ts(7016)

I tried to declare the module but it doesn't work. I'll appreciate it if you guide me to fix this issue. Thanks.

f0-x commented 9 months ago

@shahabyazdi It would be helpful if you could just reply if it's possible to resolve this issue or not ? 😢