From c3793ec81be78793bbc9a4f4925b7c57694d3204 Mon Sep 17 00:00:00 2001 From: Garrone Joseph Date: Sat, 20 Feb 2021 11:15:49 +0100 Subject: [PATCH] Update tsconfig.json --- tsconfig.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a222d13..00880a3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,9 @@ { "compilerOptions": { - "module": "commonjs", + "module": "CommonJS", "target": "es5", - "lib": ["es2015"], + "lib": ["es2015", "DOM"], + "esModuleInterop": true, "declaration": true, "outDir": "./dist", "sourceMap": true, @@ -11,8 +12,11 @@ "noUnusedParameters": true, "incremental": true, "strict": true, - "downlevelIteration": true + "downlevelIteration": true, + "jsx": "react-jsx", + "noFallthroughCasesInSwitch": true }, - "filesGlob": ["src/**/*"], - "exclude": ["node_modules/", "dist/**/*"] + "include": [ + "src" + ] }