mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The inject tool inserts `const foo = this.foo` if code in the constructor referenced the constructor parameter `foo`. If `foo` is a readonly property, we can instead replace `foo` with `this.foo`. This allows more properties to be moved out of the constructor with combineMemberInitializers. For now, it only touches initializers, not all of the code in the constructor. PR Close #60713 |
||
|---|---|---|
| .. | ||
| migrations | ||
| ng-generate | ||
| test | ||
| utils | ||
| BUILD.bazel | ||
| collection.json | ||
| migrations.json | ||
| package.json | ||
| rollup.config.js | ||
| tsconfig.json | ||