angular/packages/core/schematics/test
Kristiyan Kostadinov 6b4357fae4 fix(migrations): preserve type when using inject decorator (#57389)
Updates the migration so that it passes the type as a generic in the case of `@Inject(SOME_TOKEN) foo: SomeType`. This is done for two reasons:
1. It's a fairly common pattern and it ensures that the code can still be compiled.
2. It avoids leaving behind unused imports.

PR Close #57389
2024-08-15 12:11:59 -04:00
..
google3 refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
after_render_phase_spec.ts fix(core): properly remove imports in the afterRender phase migration (#56524) 2024-06-20 08:50:28 -07:00
all-migrations.spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
BUILD.bazel feat(migrations): add migration to convert standalone component routes to be lazy loaded (#56428) 2024-07-30 20:00:37 +00:00
control_flow_migration_spec.ts fix(migrations): fix common module removal (#56968) 2024-07-15 11:17:46 -07:00
helpers.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
http_providers_spec.ts fix(core): Do not migrate HttpClientModule imports on components. (#56067) 2024-05-30 14:55:06 +00:00
inject_migration_spec.ts fix(migrations): preserve type when using inject decorator (#57389) 2024-08-15 12:11:59 -04:00
invalid_two_way_bindings_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
project_tsconfig_paths_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
standalone_migration_spec.ts refactor(migrations): use common import manager for schematics (#57096) 2024-07-23 12:17:41 -07:00
standalone_routes_spec.ts feat(migrations): add migration to convert standalone component routes to be lazy loaded (#56428) 2024-07-30 20:00:37 +00:00