-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Using a modern resolution mode (as in, not node10, which is deprecated in TS 6.0, removed in TS 7.0) for @nova/react-test-utils nets:
Could not find a declaration file for module '@nova/react-test-utils'. '/workspaces/teams-modular-packages/node_modules/@nova/react-test-utils/lib/index.mjs' implicitly has an 'any' type.
There are types at '/workspaces/teams-modular-packages/node_modules/@nova/react-test-utils/lib/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@nova/react-test-utils' library may need to update its package.json or typings.ts(7016)
If you look at these pages, you'll see the complaints as well:
- https://arethetypeswrong.github.io/?p=%40nova%2Freact-test-utils%407.2.2
- https://publint.dev/@nova/react-test-utils@7.2.2
The types entry should appear first (though this is already a suspect situation, to share types between CJS and ESM).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels