angular-docs-cn/integration/ng_update_migrations/src/app
Paul Gschwendtner c24ad560fa feat(core): undecorated-classes migration should handle derived abstract classes (#35339)
In version 10, undecorated base classes that use Angular features need
to be decorated explicitly with `@Directive()`. Additionally, derived
classes of abstract directives need to be decorated.

The migration already handles this for undecorated classes that are
not explicitly decorated, but since in V9, abstract directives can be
used, we also need to handle this for explicitly decorated abstract
directives. e.g.

```
@Directive()
export class Base {...}

// needs to be decorated by migration when updating from v9 to v10
export class Wrapped extends Base {}

@Component(...)
export class Cmp extends Wrapped {}
```

PR Close #35339
2020-04-02 10:51:49 -07:00
..
migration-tests feat(core): undecorated-classes migration should handle derived abstract classes (#35339) 2020-04-02 10:51:49 -07:00
app.component.html build: create integration test for ng-update migrations (#32349) 2019-08-29 12:34:43 -07:00
app.component.less build: create integration test for ng-update migrations (#32349) 2019-08-29 12:34:43 -07:00
app.component.spec.ts build(docs-infra): update project structure to cli@9 3/12 (`title in a h1 tag`) (#36015) 2020-03-18 10:00:01 -07:00
app.component.ts build: create integration test for ng-update migrations (#32349) 2019-08-29 12:34:43 -07:00
app.module.ts build: create integration test for ng-update migrations (#32349) 2019-08-29 12:34:43 -07:00