From 322f7452685cd2b8258c7b16c2d19d66db17a691 Mon Sep 17 00:00:00 2001 From: simjes Date: Sun, 18 Aug 2019 14:35:24 +0200 Subject: [PATCH] Update tsconfig example in README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8c9e42d..06a0816 100644 --- a/README.md +++ b/README.md @@ -78,13 +78,14 @@ npm install --save-dev @testing-library/cypress ### With TypeScript -Typings are defined in `@types/testing-library__cypress` at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress), -and should be added as follows in `tsconfig.json`: +Typings are defined in `@types/testing-library__cypress` at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress). +It is a dependency for this library, so it can be added as +follows in `tsconfig.json`: ```json { "compilerOptions": { - "types": ["cypress", "@types/testing-library__cypress"] + "types": ["cypress", "@testing-library/cypress"] } } ```