From 7ee19cef23b2db5ad30e1abc4bf6e2304b31fc65 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 6 Sep 2023 14:10:50 +0200 Subject: [PATCH] Exclude cypress folder from type config, but not everywhere: https://github.com/cypress-io/cypress/issues/7552 --- cypress/tsconfig.json | 4 +++- tsconfig.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index 79d78d7e..e3ecff54 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -4,5 +4,7 @@ "compilerOptions": { "sourceMap": false, "types": ["cypress"] - } + }, + // See https://github.com/cypress-io/cypress/issues/7552#issuecomment-763498855 + "exclude": [] } diff --git a/tsconfig.json b/tsconfig.json index 4e1f9329..28e658f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,6 +27,7 @@ }, "exclude": [ "cypress.config.ts", + // See https://github.com/cypress-io/cypress/issues/7552#issuecomment-763498855 "cypress/**/*" ] }