Skip to content

Commit c79a410

Browse files
committed
fix(@schematics/angular): remove experimentalDecorators from new projects
`experimentalDecorators: true` was required to use constructor DI. With recommendation now to use `inject` for DI, new projects don't need the experimental decorators anymore.
1 parent d134fa1 commit c79a410

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/schematics/angular/workspace/files/tsconfig.json.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"noFallthroughCasesInSwitch": true,<% } %>
1111
"skipLibCheck": true,
1212
"isolatedModules": true,
13-
"experimentalDecorators": true,
1413
"importHelpers": true,
1514
"target": "ES2022",
1615
"module": "preserve"

0 commit comments

Comments
 (0)