Content-Length: 269438 | pFad | http://github.com/stdavis/testing-library-docs/commit/bcd131ebd0cccb1667532d082463809b10b94a65

79 Fix TypeScript tsconfig.json instructions (#602) · stdavis/testing-library-docs@bcd131e · GitHub
Skip to content

Commit bcd131e

Browse files
authored
Fix TypeScript tsconfig.json instructions (testing-library#602)
1 parent 8dd9651 commit bcd131e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/cypress-testing-library/intro.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ and `queryAllBy` commands off the global `cy` object.
3434
3535
## With TypeScript
3636

37-
Typings are defined in `@types/testing-library__cypress` at
38-
[DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress),
39-
and should be added as follows in `tsconfig.json`:
37+
Typings should be added as follows in `tsconfig.json`:
4038

4139
```json
4240
{
4341
"compilerOptions": {
44-
"types": ["cypress", "@types/testing-library__cypress"]
42+
"types": ["cypress", "@testing-library/cypress"]
4543
}
4644
}
4745
```

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/stdavis/testing-library-docs/commit/bcd131ebd0cccb1667532d082463809b10b94a65

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy