fix(upgrade): deprecate the dynamic version of ngUpgrade
This commit is contained in:

committed by
Miško Hevery

parent
22c409029c
commit
450a13dea0
@ -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 */
|
||||
|
Reference in New Issue
Block a user