We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4d4d9 commit 23152c1Copy full SHA for 23152c1
docs/react-testing-library/intro.mdx
@@ -18,11 +18,11 @@ npm install --save-dev @testing-library/react @testing-library/dom
18
19
### With TypeScript
20
21
-To get full type coverage, you need to install the types for `react-dom` as
+To get full type coverage, you need to install the types for `react` and `react-dom` as
22
well:
23
24
```bash npm2yarn
25
-npm install --save-dev @testing-library/react @testing-library/dom @types/react-dom
+npm install --save-dev @testing-library/react @testing-library/dom @types/react @types/react-dom
26
```
27
28
[gh]: https://github.com/testing-library/react-testing-library
0 commit comments