We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@types/react
1 parent 288b86f commit e862067Copy full SHA for e862067
docs/react-testing-library/intro.mdx
@@ -15,10 +15,10 @@ npm install --save-dev @testing-library/react
15
16
### With TypeScript
17
18
-To get full type coverage, you need to install the types for `react-dom` as well:
+To get full type coverage, you need to install the types for `react` and `react-dom` as well:
19
20
```bash npm2yarn
21
-npm install --save-dev @testing-library/react @types/react-dom
+npm install --save-dev @testing-library/react @types/react-dom @types/react
22
```
23
24
0 commit comments