diff --git a/src/demo-app/tsconfig-aot.json b/src/demo-app/tsconfig-aot.json index bf6136c9d33..761c961b954 100644 --- a/src/demo-app/tsconfig-aot.json +++ b/src/demo-app/tsconfig-aot.json @@ -7,8 +7,7 @@ // Needed for Moment.js since it doesn't have a default export. "allowSyntheticDefaultImports": true, "experimentalDecorators": true, - // TODO(paul): Remove once Angular has been upgraded and supports noUnusedParameters in AOT. - "noUnusedParameters": false, + "noUnusedParameters": true, "strictNullChecks": true, "outDir": ".", "paths": { diff --git a/src/e2e-app/tsconfig-build.json b/src/e2e-app/tsconfig-build.json index c6942221368..d91a6e786b9 100644 --- a/src/e2e-app/tsconfig-build.json +++ b/src/e2e-app/tsconfig-build.json @@ -5,8 +5,7 @@ "declaration": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, - // TODO(paul): Remove once Angular has been upgraded and supports noUnusedParameters in AOT. - "noUnusedParameters": false, + "noUnusedParameters": true, // Don't use strict nulls for the e2e-app because the material-examples are not // strict-null compliant. "strictNullChecks": false, diff --git a/src/universal-app/tsconfig-build.json b/src/universal-app/tsconfig-build.json index d18f63191f0..adf897b7aba 100644 --- a/src/universal-app/tsconfig-build.json +++ b/src/universal-app/tsconfig-build.json @@ -5,8 +5,7 @@ "declaration": true, "stripInternal": false, "experimentalDecorators": true, - // TODO(crisbeto): disabled due to https://github.com/angular/angular/issues/17131 - "noUnusedParameters": false, + "noUnusedParameters": true, "strictNullChecks": true, "module": "commonjs", "moduleResolution": "node", diff --git a/src/universal-app/tsconfig-prerender.json b/src/universal-app/tsconfig-prerender.json index 1d43000eef9..60998deea01 100644 --- a/src/universal-app/tsconfig-prerender.json +++ b/src/universal-app/tsconfig-prerender.json @@ -4,8 +4,7 @@ "declaration": false, "stripInternal": false, "experimentalDecorators": true, - // TODO(paul): Remove once Angular has been upgraded and supports noUnusedParameters in AOT. - "noUnusedParameters": false, + "noUnusedParameters": true, "strictNullChecks": true, "module": "commonjs", "moduleResolution": "node",