react-polymorphic-types icon indicating copy to clipboard operation
react-polymorphic-types copied to clipboard

Could not find a declaration file for module

Open candidia opened this issue 8 months ago • 0 comments

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)

candidia avatar Apr 16 '25 01:04 candidia