fix(core): temporarily remove @deprecated jsdoc tag for a TextBedStatic.get overload (#30714)

Followup to #30514 which did the same for `TestBed`, but `TestBedStatic` was necessary too.

PR Close #30714
This commit is contained in:
cexbrayat
2019-05-29 09:10:44 +02:00
committed by Andrew Kushnir
parent bb4e230eae
commit 6bc9c78d76
2 changed files with 7 additions and 2 deletions

View File

@ -94,7 +94,7 @@ export interface TestBedStatic {
configureTestingModule(moduleDef: TestModuleMetadata): TestBedStatic;
createComponent<T>(component: Type<T>): ComponentFixture<T>;
get<T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectFlags): any;
/** @deprecated */ get(token: any, notFoundValue?: any): any;
get(token: any, notFoundValue?: any): any;
initTestEnvironment(ngModule: Type<any> | Type<any>[], platform: PlatformRef, aotSummaries?: () => any[]): TestBed;
overrideComponent(component: Type<any>, override: MetadataOverride<Component>): TestBedStatic;
overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): TestBedStatic;