feat(transformers): collect data needed for the template compiler
Closes #7299
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {ViewEncapsulation} from 'angular2/src/core/metadata/view';
|
||||
import {Injector} from 'angular2/src/core/di/injector';
|
||||
import {Injector, Injectable} from 'angular2/src/core/di';
|
||||
|
||||
export class RenderComponentType {
|
||||
constructor(public id: string, public encapsulation: ViewEncapsulation,
|
||||
@@ -13,6 +13,7 @@ export class RenderDebugInfo {
|
||||
|
||||
export interface ParentRenderer { renderComponent(componentType: RenderComponentType): Renderer; }
|
||||
|
||||
@Injectable()
|
||||
export abstract class Renderer implements ParentRenderer {
|
||||
abstract renderComponent(componentType: RenderComponentType): Renderer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user