fix(upgrade): deprecate the dynamic version of ngUpgrade

This commit is contained in:
Georgios Kalpakas
2017-08-18 17:02:41 +03:00
committed by Miško Hevery
parent 22c409029c
commit 450a13dea0
2 changed files with 6 additions and 4 deletions

View File

@ -96,7 +96,8 @@ let upgradeCount: number = 0;
*
* ```
*
* @stable
* @deprecated Deprecated since v5. Use `upgrade/static` instead, which also supports
* [Ahead-of-Time compilation](guide/aot-compiler).
*/
export class UpgradeAdapter {
private idPrefix: string = `NG2_UPGRADE_${upgradeCount++}_`;
@ -634,7 +635,8 @@ class ParentInjectorPromise {
/**
* Use `UpgradeAdapterRef` to control a hybrid AngularJS / Angular application.
*
* @stable
* @deprecated Deprecated since v5. Use `upgrade/static` instead, which also supports
* [Ahead-of-Time compilation](guide/aot-compiler).
*/
export class UpgradeAdapterRef {
/* @internal */