Closed
Description
preact
and @testing-library/preact
are defined as peer dependencies:
preact-hooks-testing-library/package.json
Lines 34 to 37 in 9badbd2
This makes sense for external consumers, but causes issues in local development, since TypeScript type checking will be unable to find types for the preact
and @testing-library/preact
packages, unless they are available in global caches.
To ensure that type definitions for preact
and @testing-library/preact
are available, they should be additionally be installed as devDependencies
.
Metadata
Metadata
Assignees
Labels
No labels