From 6d3f965fa24c595598705d5b495dad56d2c66e56 Mon Sep 17 00:00:00 2001 From: andrii <25188+unorsk@users.noreply.github.com> Date: Fri, 11 Aug 2023 15:36:00 +0200 Subject: [PATCH] enable strict type checks --- tsconfig.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 74e214e2..4bcba379 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,12 +2,16 @@ "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], + "lib": [ + "DOM", + "DOM.Iterable", + "ESNext" + ], "allowJs": false, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, - "strict": false, + "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext", "moduleResolution": "Node", @@ -22,5 +26,7 @@ "module": "commonjs" } }, - "include": ["src"] -} + "include": [ + "src" + ] +} \ No newline at end of file