From 050aacd6f369ddf38a8daa3228637ba351e6a863 Mon Sep 17 00:00:00 2001 From: nd0ut Date: Fri, 16 Feb 2024 17:49:34 +0300 Subject: [PATCH] chore: disable `noImplicitAny` for tests --- tsconfig.json | 8 +++++--- tsconfig.test.json | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 tsconfig.test.json diff --git a/tsconfig.json b/tsconfig.json index f44d6678..08534cd8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,8 +9,10 @@ "resolveJsonModule": true, "moduleResolution": "node", "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "types": ["jest-extended", "jest", "node"] + "esModuleInterop": true }, - "exclude": ["node_modules"] + "exclude": ["node_modules", "**/*.test.ts"], + "references": [ + { "path": "./tsconfig.test.json" }, + ] } diff --git a/tsconfig.test.json b/tsconfig.test.json new file mode 100644 index 00000000..796c7467 --- /dev/null +++ b/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "compilerOptions": { + "noImplicitAny": false + }, + "include": ["**/*.test.ts"] +}