Skip to content

Commit e729f70

Browse files
committed
build: enable noUnusedParameters check in aot.
* Re-enables the `noUnusedParameters` check in the e2eapp and demo-app (AOT).
1 parent cf11ff2 commit e729f70

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/demo-app/tsconfig-aot.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
// Needed for Moment.js since it doesn't have a default export.
88
"allowSyntheticDefaultImports": true,
99
"experimentalDecorators": true,
10-
// TODO(paul): Remove once Angular has been upgraded and supports noUnusedParameters in AOT.
11-
"noUnusedParameters": false,
10+
"noUnusedParameters": true,
1211
"strictNullChecks": true,
1312
"outDir": ".",
1413
"paths": {

src/e2e-app/tsconfig-build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"declaration": true,
66
"emitDecoratorMetadata": true,
77
"experimentalDecorators": true,
8-
// TODO(paul): Remove once Angular has been upgraded and supports noUnusedParameters in AOT.
9-
"noUnusedParameters": false,
8+
"noUnusedParameters": true,
109
// Don't use strict nulls for the e2e-app because the material-examples are not
1110
// strict-null compliant.
1211
"strictNullChecks": false,

0 commit comments

Comments
 (0)