react-splide icon indicating copy to clipboard operation
react-splide copied to clipboard

missing declaration file

Open P3DR0DEV opened this issue 1 year ago • 9 comments

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to React Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

0.7.12

Description

I tried to use the lib in my react project but its missing the types declaration file

Reproduction Link

.

Steps to Reproduce

.

Expected Behaviour

.

P3DR0DEV avatar Jul 31 '23 03:07 P3DR0DEV

I'm having the same issue

amjedomar avatar Aug 04 '23 16:08 amjedomar

I created a PR to fix this bug, but the lib's owner hasn't approved it yet https://github.com/Splidejs/react-splide/pull/73

P3DR0DEV avatar Aug 04 '23 20:08 P3DR0DEV

Será que vai dar boa dele liberar?

ManuelPinheiroJunior avatar Aug 08 '23 00:08 ManuelPinheiroJunior

I have also this problem

Could not find a declaration file for module '@splidejs/react-splide'. '/Users/volodimirmoroz/project/saas-landing/node_modules/@splidejs/react-splide/dist/js/react-splide.esm.js' implicitly has an 'any' type.

frostwowa avatar Aug 09 '23 12:08 frostwowa

Same problem =(

arturmoroz avatar Aug 09 '23 13:08 arturmoroz

I created a PR to fix this bug, but the lib's owner hasn't approved it yet #73

Thanks! I'm facing the same issue right now :/

Felix7447 avatar Aug 11 '23 01:08 Felix7447

Cross-Issued on plain "splide" repo: https://github.com/Splidejs/splide/issues/1179

tresorama avatar Sep 13 '23 10:09 tresorama

Once the developer is not updating this package anymore, I forked it and fixed the issue exporting the types that are not being exported. https://github.com/patrickn2/react-splide

patrickn2 avatar Apr 03 '24 00:04 patrickn2

@patrickn2, thanks this means a lot to everyone.

Mishael-Joe avatar Apr 20 '24 15:04 Mishael-Joe