-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Split from #16
The following configuration does not work:
export abstract class BaseComponent implements ng.IComponentOptions {
constructor(public controller: ng.Injectable<ng.IControllerConstructor>) {
}
public template: string = require("./template.html");
}
export class TestComponent extends BaseComponent {
constructor() {
super(TestController);
}
}
export class TestController {
}When part of the component's configuration is in a base class it won't be detected.
Controller passed to base class constructor does not work as well.