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
|
*/
|
8
|
import { Compiler, CompilerFactory, CompilerOptions, PlatformRef, Provider, Type } from '@angular/core';
|
9
|
/**
|
10
|
* A set of providers that provide `JitCompiler` and its dependencies to use for
|
11
|
* template compilation.
|
12
|
*/
|
13
|
export declare const COMPILER_PROVIDERS: Array<any | Type<any> | {
|
14
|
[k: string]: any;
|
15
|
} | any[]>;
|
16
|
export declare class JitCompilerFactory implements CompilerFactory {
|
17
|
private _defaultOptions;
|
18
|
constructor(defaultOptions: CompilerOptions[]);
|
19
|
createCompiler(options?: CompilerOptions[]): Compiler;
|
20
|
}
|
21
|
/**
|
22
|
* A platform that included corePlatform and the compiler.
|
23
|
*
|
24
|
* @experimental
|
25
|
*/
|
26
|
export declare const platformCoreDynamic: (extraProviders?: Provider[] | undefined) => PlatformRef;
|