Open
Description
Checks
- Not a duplicate.
- 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.0
Description
Encountering this error when importing react splide module in NextJs 14
Could not find a declaration file for module '@splidejs/react-splide'. 'f:/lavange/lavange_ecommerce/lavange_ecommerce_client/node_modules/@splidejs/react-splide/dist/js/react-splide.esm.js' implicitly has an 'any' type. There are types at 'f:/lavange/lavange_ecommerce/lavange_ecommerce_client/node_modules/@splidejs/react-splide/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@splidejs/react-splide' library may need to update its package.json or typings. @AllCategory.tsx:6:37
Reproduction Link
No response
Steps to Reproduce
- Initialize a new latest next project
- Install react-splide
- Import react-splide module
...
Expected Behaviour
The module should be imported without any errors. The type declaration should be automatically found.