refactor(compiler): remove view factories, use view classes directly

This commit is contained in:
Tobias Bosch
2016-11-02 08:36:23 -07:00
committed by Vikram Subramanian
parent 7c5cc9bc41
commit 0e3d655220
12 changed files with 64 additions and 112 deletions

View File

@ -247,7 +247,7 @@ export interface ComponentDecorator {
export declare class ComponentFactory<C> {
componentType: Type<any>;
selector: string;
constructor(selector: string, _viewFactory: Function, _componentType: Type<any>);
constructor(selector: string, _viewClass: Type<AppView<any>>, _componentType: Type<any>);
create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string | any): ComponentRef<C>;
}