refactor(chore): Replace all 'bindings' with 'providers'
BREAKING CHANGE Deprecated `bindings:` and `viewBindings:` are replaced with `providers:` and `viewProviders:` Closes #7687
This commit is contained in:

committed by
Misko Hevery

parent
49fb7ef421
commit
0795dd307b
@ -56,20 +56,6 @@ export class MockDirectiveResolver extends DirectiveResolver {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
setBindingsOverride(type: Type, bindings: any[]): void {
|
||||
this._providerOverrides.set(type, bindings);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
setViewBindingsOverride(type: Type, viewBindings: any[]): void {
|
||||
this.viewProviderOverrides.set(type, viewBindings);
|
||||
}
|
||||
|
||||
setProvidersOverride(type: Type, providers: any[]): void {
|
||||
this._providerOverrides.set(type, providers);
|
||||
}
|
||||
|
Reference in New Issue
Block a user