Skip to content

Could not find a declaration file for module #224

@LowderPlay

Description

@LowderPlay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions