1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Compiler, CompilerOptions, Component, Directive, Injector, NgModule, Pipe, Type } from '@angular/core';
|
9 | import { MetadataOverride } from './metadata_override';
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare class TestingCompiler extends Compiler {
|
16 | injector: Injector;
|
17 | overrideModule(module: Type<any>, overrides: MetadataOverride<NgModule>): void;
|
18 | overrideDirective(directive: Type<any>, overrides: MetadataOverride<Directive>): void;
|
19 | overrideComponent(component: Type<any>, overrides: MetadataOverride<Component>): void;
|
20 | overridePipe(directive: Type<any>, overrides: MetadataOverride<Pipe>): void;
|
21 | }
|
22 | /**
|
23 | * A factory for creating a Compiler
|
24 | *
|
25 | * @experimental
|
26 | */
|
27 | export declare abstract class TestingCompilerFactory {
|
28 | abstract createTestingCompiler(options?: CompilerOptions[]): TestingCompiler;
|
29 | }
|