From adf1ca81bd9888da81039ba6fe7e83d3c428040f Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Thu, 12 Nov 2020 17:31:54 -0800 Subject: [PATCH] Turn on strictNullChecks in tsconfig --- webapp/tsconfig.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/tsconfig.json b/webapp/tsconfig.json index 2897478d8..bbcb59d1e 100644 --- a/webapp/tsconfig.json +++ b/webapp/tsconfig.json @@ -6,7 +6,7 @@ "esModuleInterop": true, "noImplicitAny": true, "strict": true, - "strictNullChecks": false, + "strictNullChecks": true, "forceConsistentCasingInFileNames": true, "sourceMap": true, "allowJs": true, @@ -26,5 +26,9 @@ "." ], "exclude": [ - ] + ".git", + "**/node_modules/*", + "dist", + "pack" + ] }