From ec513bcf6ef9365e12a3d8371907f832d54c4379 Mon Sep 17 00:00:00 2001 From: Burt Harris Date: Tue, 4 Oct 2016 19:04:05 -0700 Subject: [PATCH] Enabled strict null checking Note this version generates some errors, all of which seem valid to me. If we adopt this, it seems like it could replace the @NotNull decorator. --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 2946361f..949c9386 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "module": "commonjs", "target": "es2015", "noImplicitAny": true, + "strictNullChecks": true, "experimentalDecorators": true, "declaration": true, "preserveConstEnums": true,