diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index 61b0e504a3..26a5da716b 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -1,7 +1,11 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "sourceMap": false, "declaration": false, - "sourceMap": false - } + "lib": ["esnext", "dom"], + "types": ["cypress", "node"] + }, + "include": ["**/*.ts"], + "exclude": ["**/dist/**/*", "**/node_modules/**/*"] } diff --git a/tsconfig.json b/tsconfig.json index d1a4a4d263..f37b693003 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,6 +20,6 @@ "sourceMap": true, "skipLibCheck": true }, - "exclude": ["**/dist/**/*", "**/node_modules/**/*"], + "exclude": ["**/dist/**/*", "**/node_modules/**/*", "cypress"], "files": ["node_modules/jest-expect-message/types/index.d.ts"] }