Skip to content

Could not find a declaration file for module #17

Description

@candidia

Just installed as a dev dependency in react 19 and getting:

Could not find a declaration file for module 'react-polymorphic-types'. '/Users/me/node_modules/react-polymorphic-types/empty.js' implicitly has an 'any' type.
  There are types at '/Users/me/node_modules/react-polymorphic-types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'react-polymorphic-types' library may need to update its package.json or typings.ts(7016)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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