4e8c2c3422
Queries can not only be accessed within derived classes, but also in the super class through abstract methods. e.g. ``` abstract class BaseClass { abstract getEmbeddedForm(): NgForm {} ngOnInit() { this.getEmbeddedForm().doSomething(); } } class Subclass extends BaseClass { @ViewChild(NgForm) form: NgForm; getEmbeddedForm() { return this.form; } } ``` Same applies for abstract properties which are implemented in the base class through accessors. This case is also now handled by the schematic. Resolves FW-1213 PR Close #29688 |
||
---|---|---|
.. | ||
tslint | ||
typescript | ||
BUILD.bazel | ||
line_mappings.ts | ||
ng_decorators.ts | ||
project_tsconfig_paths.ts |