UNPKG

angular2

Version:

Angular 2 - a web framework for modern web apps

15 lines (14 loc) 728 B
import { Compiler, Compiler_ } from 'angular2/src/core/linker/compiler'; import { HostViewFactoryRef, HostViewFactoryRef_ } from 'angular2/src/core/linker/view_ref'; import { TemplateCompiler } from './template_compiler'; import { Type } from 'angular2/src/facade/lang'; export declare abstract class RuntimeCompiler extends Compiler { abstract compileInHost(componentType: Type): Promise<HostViewFactoryRef>; abstract clearCache(): any; } export declare class RuntimeCompiler_ extends Compiler_ implements RuntimeCompiler { private _templateCompiler; constructor(_templateCompiler: TemplateCompiler); compileInHost(componentType: Type): Promise<HostViewFactoryRef_>; clearCache(): void; }