react-multi-date-picker icon indicating copy to clipboard operation
react-multi-date-picker copied to clipboard

TS declaration module error on import transition

Open AmirHosseinKarimi opened this issue 2 years ago • 1 comments

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.

AmirHosseinKarimi avatar Jan 31 '23 17:01 AmirHosseinKarimi

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

f0-x avatar Jan 23 '24 10:01 f0-x