How to properly annotate an abstract base component with life cycle hooks in Angular
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
1
I have an abstract base component with life cycle hooks: export abstract class BaseComponent implements OnChanges, OnInit { ngOnChanges(changes: SimpleChanges): void { … } ngOnInit() { … } } And a child component: @Component({ … }) export class ChildComponent extends BaseComponent { This will result in Can't resolve all parameters for BaseComponent: (?, ?, ?). The parameter indeed has three parameters. All three values are listed in the providers section of the module containing the child component. Adding the base component to the module is not possible since it is not compatible wit...