From fbb3e7db5aa6c8e65d0b0260d9b8e8e3f5329909 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Tue, 22 Mar 2022 00:34:48 +0100 Subject: chore: partially activate strict mode (#651) --- tsconfig.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9f2fe64c..aea7ca43 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,15 @@ "outDir": "dist", "declaration": true, "esModuleInterop": true, - "allowJs": true + "allowJs": true, + "alwaysStrict": true, + // "strictNullChecks": true, + // "strictBindCallApply": true, + "strictFunctionTypes": true, + // "strictPropertyInitialization": true, + // "noImplicitAny": true, + // "noImplicitThis": true, + "useUnknownInCatchVariables": true }, "include": ["src/**/*"], "exclude": ["node_modules"] -- cgit v1.2.3