config.d.ts
1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { ViewEncapsulation } from '@angular/core';
import { CompileIdentifierMetadata } from './compile_metadata';
export declare class CompilerConfig {
renderTypes: RenderTypes;
defaultEncapsulation: ViewEncapsulation;
private _genDebugInfo;
private _logBindingUpdate;
useJit: boolean;
constructor({renderTypes, defaultEncapsulation, genDebugInfo, logBindingUpdate, useJit}?: {
renderTypes?: RenderTypes;
defaultEncapsulation?: ViewEncapsulation;
genDebugInfo?: boolean;
logBindingUpdate?: boolean;
useJit?: boolean;
});
genDebugInfo: boolean;
logBindingUpdate: boolean;
}
/**
* Types used for the renderer.
* Can be replaced to specialize the generated output to a specific renderer
* to help tree shaking.
*/
export declare abstract class RenderTypes {
renderer: CompileIdentifierMetadata;
renderText: CompileIdentifierMetadata;
renderElement: CompileIdentifierMetadata;
renderComment: CompileIdentifierMetadata;
renderNode: CompileIdentifierMetadata;
renderEvent: CompileIdentifierMetadata;
}
export declare class DefaultRenderTypes implements RenderTypes {
renderer: CompileIdentifierMetadata;
renderText: any;
renderElement: any;
renderComment: any;
renderNode: any;
renderEvent: any;
}