From 01123c8717ba756f0c1c7bc4efcea965f6cc0ea3 Mon Sep 17 00:00:00 2001 From: Matan Borenkraout Date: Wed, 1 May 2024 21:35:45 +0300 Subject: [PATCH] docs: recommend installing `@types/react` --- docs/react-testing-library/intro.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/react-testing-library/intro.mdx b/docs/react-testing-library/intro.mdx index 9cf2a553..fdb38dde 100644 --- a/docs/react-testing-library/intro.mdx +++ b/docs/react-testing-library/intro.mdx @@ -15,10 +15,10 @@ npm install --save-dev @testing-library/react ### With TypeScript -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: ```bash npm2yarn -npm install --save-dev @testing-library/react @types/react-dom +npm install --save-dev @testing-library/react @types/react-dom @types/react ```