Replies: 1 comment 1 reply
-
I might be wrong, but I think This is done so to prevent you from depending directly on a transitive dependency, and to help If your code is importing |
Beta Was this translation helpful? Give feedback.
-
I might be wrong, but I think This is done so to prevent you from depending directly on a transitive dependency, and to help If your code is importing |
Beta Was this translation helpful? Give feedback.
-
I updated my pnpm to v7 and missed some types for Typescript.
You can create a
create-react-app
typescript app and then use pnpm as packages manager to confirm that:Question:
why should i install
@types/testing-library__jest-dom
? it just is a dependency of@testing-library/jest-dom
infact,
@types/testing-library__jest-dom
has been installed at .pnpm but can't be found by typescript:Beta Was this translation helpful? Give feedback.
All reactions