refactor(Provider): remove deprecated provider/bind API (#10652)
Closes #9751 BREAKING CHANGE: These forms of providers are no longer accepted: bind(MyClass).toFactory(...) new Provider(MyClass, toFactory: ...) We now only accept: {provider: MyClass, toFactory: ...}
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {ClassProvider, ExistingProvider, FactoryProvider, TypeProvider, ValueProvider} from '@angular/core';
|
||||
|
||||
import * as browser from './src/browser';
|
||||
import * as ng_proble from './src/dom/debug/ng_probe';
|
||||
import * as dom_adapter from './src/dom/dom_adapter';
|
||||
|
Reference in New Issue
Block a user