UNPKG

861 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { CompileNgModuleMetadata, CompileProviderMetadata } from './compile_metadata';
9import { CompileReflector } from './compile_reflector';
10import { OutputContext } from './util';
11export declare class NgModuleCompileResult {
12 ngModuleFactoryVar: string;
13 constructor(ngModuleFactoryVar: string);
14}
15export declare class NgModuleCompiler {
16 private reflector;
17 constructor(reflector: CompileReflector);
18 compile(ctx: OutputContext, ngModuleMeta: CompileNgModuleMetadata, extraProviders: CompileProviderMetadata[]): NgModuleCompileResult;
19 createStub(ctx: OutputContext, ngModuleReference: any): void;
20 private _createNgModuleFactory;
21}