refactor(core): remove deprecated `Testability#findBindings` (#18782)

BREAKING CHANGE: `Testability#findBindings` has been removed as it was deprecated since v4. Use `Testability#findProviders` instead.

PR Close #18782
This commit is contained in:
Olivier Combe 2017-08-18 15:44:39 +02:00 committed by Miško Hevery
parent d61b9021e0
commit f2a2a6b478
2 changed files with 0 additions and 7 deletions

View File

@ -109,12 +109,6 @@ export class Testability implements PublicTestability {
getPendingRequestCount(): number { return this._pendingCount; }
/** @deprecated use findProviders */
findBindings(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement.
return [];
}
findProviders(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement.
return [];

View File

@ -967,7 +967,6 @@ export declare abstract class TemplateRef<C> {
export declare class Testability implements PublicTestability {
constructor(_ngZone: NgZone);
decreasePendingRequestCount(): number;
/** @deprecated */ findBindings(using: any, provider: string, exactMatch: boolean): any[];
findProviders(using: any, provider: string, exactMatch: boolean): any[];
getPendingRequestCount(): number;
increasePendingRequestCount(): number;