From d53c08d5ce2fc861c525d3493d0ff8ea3ea0c439 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+KaizIqbal@users.noreply.github.com> Date: Thu, 13 Aug 2020 18:33:09 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Root=20tsconfig.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 40c81576..7ee8314d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,22 @@ { "compilerOptions": { + /* Basic Options */ "target": "es2017", "module": "commonjs", "lib": ["es2015", "dom"], - "typeRoots": ["node_modules/@types"], + + /* Strict Type-Checking Option */ "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitReturns": true, + + /* For .json data */ "resolveJsonModule": true, - "noFallthroughCasesInSwitch": true, - "esModuleInterop": true - }, - "include": ["src/**/*", "node_modules/@types/puppeteer/index.d.ts"], - "exclude": ["node_modules", "**/*.test.ts"] + + /* Module Resolution Options */ + "moduleResolution": "node", + "esModuleInterop": true, + + /* Advanced Options */ + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true + } }