Skip to content

Commit a25786d

Browse files
crisbetojosephperrott
authored andcommitted
build: fix TS 2.6 compilation error in tree (#10096)
1 parent f33e2a2 commit a25786d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk/tree/tsconfig-build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"angularCompilerOptions": {
88
"annotateForClosureCompiler": true,
9-
"strictMetadataEmit": true,
9+
"strictMetadataEmit": false, // Workaround for Angular #22210
1010
"flatModuleOutFile": "index.js",
1111
"flatModuleId": "@angular/cdk/tree",
1212
"skipTemplateCodegen": true

src/lib/tree/tsconfig-build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"angularCompilerOptions": {
88
"annotateForClosureCompiler": true,
9-
"strictMetadataEmit": true,
9+
"strictMetadataEmit": false, // Workaround for Angular #22210
1010
"flatModuleOutFile": "index.js",
1111
"flatModuleId": "@angular/material/tree",
1212
"skipTemplateCodegen": true,

0 commit comments

Comments
 (0)