From c153a4d3885b6359f8bfe2b056f56db23ab4c9d8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 7 Jul 2023 10:02:53 +0100 Subject: [PATCH] Enable strictPropertyInitialization (#11200) --- tsconfig.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 6d58595e5c..40b5091a82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,17 +7,15 @@ "module": "commonjs", "moduleResolution": "node", "target": "es2016", - "noImplicitAny": true, "noUnusedLocals": true, "sourceMap": false, "outDir": "./lib", "declaration": true, "jsx": "react", "lib": ["es2020", "dom", "dom.iterable"], - "alwaysStrict": true, - "strictBindCallApply": true, - "strictNullChecks": true, - "noImplicitThis": true + "strict": true, + "strictFunctionTypes": false, + "useUnknownInCatchVariables": false }, "include": [ "./node_modules/matrix-js-sdk/src/@types/*.d.ts",