From 44e93dd713ba4b47e70affa816530e6dc1a4a1d7 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 2 Nov 2021 09:50:21 +0800 Subject: [PATCH] chore: fix typecheck --- cypress/tsconfig.json | 13 ------------- tsconfig.json | 1 + 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 cypress/tsconfig.json diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json deleted file mode 100644 index ac2ec95..0000000 --- a/cypress/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "noEmit": true, - // be explicit about types included - // to avoid clashing with Jest types - "types": ["cypress"] - }, - "include": [ - "../node_modules/cypress", - "./**/*.ts" - ] -} diff --git a/tsconfig.json b/tsconfig.json index d1a11f1..7389690 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "strictNullChecks": true, "forceConsistentCasingInFileNames": true, "types": [ + "cypress", "vite/client", "vite-plugin-pages/client", "vite-plugin-vue-layouts/client"