From f0bb095d507b5d35bcdb123520ee5d0e6c6a409b Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 22 Jul 2020 21:23:27 +0300 Subject: [PATCH] Turn on automatic JS strict mode + noImplicitThis --- backend/tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/tsconfig.json b/backend/tsconfig.json index bced5567..04db9f5e 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -19,7 +19,9 @@ "../shared/src/*" ] }, - "sourceMap": true + "sourceMap": true, + "alwaysStrict": true, + "noImplicitThis": true }, "include": [ "src/**/*.ts"