angular/packages/core/schematics
Paul Gschwendtner 00a79d0ee2 refactor(migrations): properly migrate inputs marked as optional via question mark (#58031)
Currently if inputs are marked as optional via the question mark syntax,
we add `undefined` only if there is an explicit type. This is wrong as
we should do the same if there is just an initializer.

This commit fixes this.

PR Close #58031
2024-10-01 16:34:54 +00:00
..
migrations refactor(migrations): properly migrate inputs marked as optional via question mark (#58031) 2024-10-01 16:34:54 +00:00
ng-generate fix(migrations): delete constructor if it only has super call (#58013) 2024-09-30 13:39:43 -07:00
test fix(migrations): delete constructor if it only has super call (#58013) 2024-09-30 13:39:43 -07:00
utils test(migrations): add test for statistic collection tsurge (#58019) 2024-10-01 11:29:00 +00:00
BUILD.bazel feat(core): migrate ExperimentalPendingTasks to PendingTasks (#57533) 2024-09-20 18:26:48 +02:00
collection.json feat(migrations): introduce signal input migration as ng generate schematic (#57805) 2024-09-16 18:06:49 +02:00
migrations.json feat(core): migrate ExperimentalPendingTasks to PendingTasks (#57533) 2024-09-20 18:26:48 +02:00
package.json refactor(migrations): ensure CommonJS migrations can be accessed (#43657) 2021-10-04 16:24:48 -07:00
rollup.config.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig.json refactor(migrations): avoid relative imports in schematic code (#57214) 2024-08-29 07:50:41 -07:00