refactor(core): misc changes and integrate review feedback on #19996

closes #20224
This commit is contained in:
Victor Berchet
2017-11-06 11:20:45 -08:00
parent a460066972
commit 6e8e3bd248
5 changed files with 13 additions and 12 deletions

View File

@ -118,10 +118,10 @@ export declare class TestBed implements Injector {
static overrideProvider(token: any, provider: {
useFactory: Function;
deps: any[];
}): void;
}): typeof TestBed;
static overrideProvider(token: any, provider: {
useValue: any;
}): void;
}): typeof TestBed;
static overrideTemplate(component: Type<any>, template: string): typeof TestBed;
static overrideTemplateUsingTestingModule(component: Type<any>, template: string): typeof TestBed;
/** @experimental */ static resetTestEnvironment(): void;