Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a declaration file for module #224

Open
LowderPlay opened this issue Jul 5, 2024 · 1 comment
Open

Could not find a declaration file for module #224

LowderPlay opened this issue Jul 5, 2024 · 1 comment

Comments

@LowderPlay
Copy link

Hi! Thanks for the amazing package!

When using the 7.2.0 version, TypeScript complains about type declarations:

error TS7016: Could not find a declaration file for module 'react-flip-toolkit'. '<..>/react-flip-toolkit/lib/index.modern.mjs' implicitly has an 'any' type.
  There are types at '<..>/react-flip-toolkit/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'react-flip-toolkit' library may need to update its package.json or typings.

The error isn't there on the 7.1.0 version, as the issue was introduced in the commit cc17142.

@aholachek
Copy link
Owner

@LowderPlay thanks so much for flagging this 🙇 . I've published a new versionthat should fix the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants