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:
parent
d61b9021e0
commit
f2a2a6b478
@ -109,12 +109,6 @@ export class Testability implements PublicTestability {
|
|||||||
|
|
||||||
getPendingRequestCount(): number { return this._pendingCount; }
|
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[] {
|
findProviders(using: any, provider: string, exactMatch: boolean): any[] {
|
||||||
// TODO(juliemr): implement.
|
// TODO(juliemr): implement.
|
||||||
return [];
|
return [];
|
||||||
|
1
tools/public_api_guard/core/core.d.ts
vendored
1
tools/public_api_guard/core/core.d.ts
vendored
@ -967,7 +967,6 @@ export declare abstract class TemplateRef<C> {
|
|||||||
export declare class Testability implements PublicTestability {
|
export declare class Testability implements PublicTestability {
|
||||||
constructor(_ngZone: NgZone);
|
constructor(_ngZone: NgZone);
|
||||||
decreasePendingRequestCount(): number;
|
decreasePendingRequestCount(): number;
|
||||||
/** @deprecated */ findBindings(using: any, provider: string, exactMatch: boolean): any[];
|
|
||||||
findProviders(using: any, provider: string, exactMatch: boolean): any[];
|
findProviders(using: any, provider: string, exactMatch: boolean): any[];
|
||||||
getPendingRequestCount(): number;
|
getPendingRequestCount(): number;
|
||||||
increasePendingRequestCount(): number;
|
increasePendingRequestCount(): number;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user