W3cubDocs

/Angular 10

@angular/upgrade

package

Provides support for upgrading applications from Angular JS to Angular. The primary entry point is deprecated. Use the secondary entry point, upgrade/static.

See Angular deprecation policy.

Entry points

Primary

@angular/upgrade

Deprecated: all exports of this entry point are deprecated.

Provides support for upgrading applications from Angular JS to Angular. The primary entry point is deprecated. Use the secondary entry point, upgrade/static.

Secondary

@angular/upgrade/static

Supports the upgrade path from AngularJS to Angular, allowing components and services from both systems to be used in the same application.

@angular/upgrade/static/testing

Supplies testing functions for the AngularJS-to-Angular upgrade path.

Primary entry point exports

Deprecated: all exports of this entry point are deprecated.

Classes

UpgradeAdapter

Deprecated: Deprecated since v5. Use upgrade/static instead, which also supports Ahead-of-Time compilation.

Use UpgradeAdapter to allow AngularJS and Angular to coexist in a single application.

UpgradeAdapterRef

Deprecated: Deprecated since v5. Use upgrade/static instead, which also supports Ahead-of-Time compilation.

Use UpgradeAdapterRef to control a hybrid AngularJS / Angular application.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/upgrade