From 339ae069924edc50b1c7cd1fc0ffec512f15cace Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Thu, 11 Jun 2020 01:58:44 +0100 Subject: [PATCH] Force exhaustive checking on descriminator types --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 277f285..195d86b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, + "strictNullChecks": true, "noEmit": true, "jsx": "react" },