From 3bc114949b7e46beef935bc9e90179e21e11ba61 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Mon, 3 May 2021 14:37:50 -0700 Subject: [PATCH] (newapp) Update TypeScript Default Config: Safety for indexAccess (#2291) --- packages/generator/templates/app/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/generator/templates/app/tsconfig.json b/packages/generator/templates/app/tsconfig.json index c6d5bee62a..9d0baf5f37 100644 --- a/packages/generator/templates/app/tsconfig.json +++ b/packages/generator/templates/app/tsconfig.json @@ -9,6 +9,7 @@ "strictNullChecks": true, "forceConsistentCasingInFileNames": true, "noEmit": true, + "noUncheckedIndexedAccess": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "node",