angular-docs-cn/packages/core/schematics/utils
Paul Gschwendtner d751ca7596 fix(core): renderer-to-renderer2 migration not migrating methods (#33571)
The `renderer-to-renderer2` migration currently does not work
properly in v9 because the migration relies on the type checker
for detecting references to `Renderer` from `@angular/core`.

This is contradictory since the `Renderer` is no longer
exported in v9 `@angular/core`. In order to make sure that
the migration still works in v9, and that we can rely on the
type checker for the best possible detection, we take advantage
of module augmentation and in-memory add the `Renderer` export
to the `@angular/core` module.

PR Close #33571
2019-11-05 22:05:17 +00:00
..
tslint refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
typescript fix(core): renderer-to-renderer2 migration not migrating methods (#33571) 2019-11-05 22:05:17 +00:00
BUILD.bazel build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
line_mappings.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
ng_component_template.ts fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
ng_decorators.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
parse_html.ts refactor(core): static-query schematic should check templates (#29713) 2019-04-11 08:22:44 -07:00
project_tsconfig_paths.ts refactor(core): migrations should parse cli workspace config as json5 (#30582) 2019-05-21 17:26:22 -07:00
schematics_prompt.ts refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00