refactor(NgUpgrade): remove deprecated addProvider

BREAKING CHANGE: previously deprecated UpgradeAdapter#addProvider was removed, see deprecation notice for migration instructions.
This commit is contained in:
Igor Minar
2016-08-12 12:30:08 -07:00
committed by Vikram Subramanian
parent d2825077b1
commit 12b0a3d0e5
3 changed files with 7 additions and 49 deletions

View File

@ -1,7 +1,6 @@
/** @experimental */
export declare class UpgradeAdapter {
constructor(ng2AppModule?: Type<any>);
/** @deprecated */ addProvider(provider: Type<any> | Provider | any[] | any): void;
bootstrap(element: Element, modules?: any[], config?: angular.IAngularBootstrapConfig): UpgradeAdapterRef;
downgradeNg2Component(type: Type<any>): Function;
downgradeNg2Provider(token: any): Function;