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)