From 2a7fd8349eac0dc02cba440f7062545d2a463cb8 Mon Sep 17 00:00:00 2001 From: Cotton Hou Date: Thu, 19 Oct 2017 11:47:44 +0800 Subject: [PATCH] fix(@schematics/angular): Turn on strict mode by default in tsconfig --- packages/schematics/angular/application/files/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/application/files/tsconfig.json b/packages/schematics/angular/application/files/tsconfig.json index a6c016bf38..810e571c60 100644 --- a/packages/schematics/angular/application/files/tsconfig.json +++ b/packages/schematics/angular/application/files/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "outDir": "./dist/out-tsc", "sourceMap": true, + "strict": true, "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true,