You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 asdevDependencies
.The text was updated successfully, but these errors were encountered: