react-flip-toolkit icon indicating copy to clipboard operation
react-flip-toolkit copied to clipboard

Could not find a declaration file for module

Open LowderPlay opened this issue 1 year ago • 1 comments

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 cc171422c26130ef5c00cd667033700b95d1e70f.

LowderPlay avatar Jul 05 '24 18:07 LowderPlay