Closed
Description
Describe the feature you'd like:
In the new release v5.0.0 said that the typings are now in @types/testing-library__jest-dom
package, so, for a Typescript project to work is needed to install both as follows:
npm i -D testing-library/jest-dom @types/testing-library__jest-dom
@testing-library/cypress has also its typings in separate package but is not necessary to explicit install the types because is a dependency of same package.
Suggested implementation:
Add @types/testing-library__jest-dom
as dependency in package.json
so no need to worry about if you use Typescript.
Describe alternatives you've considered:
The other alternative is to update the documentation to describe the need to install @types/testing-library__jest-dom
for Typescript projects.
Teachability, Documentation, Adoption, Migration Strategy:
I can do a pull request. Then it will be necessary a new release with a patch, maybe v5.0.1