angular.courses

NG update Migrations — Angular 9

Migrations available with the ng update Angular CLI command for Angular 9. Details and example diffs below.

dynamic-queries

angular9.0.0

Static flag migration. Removes the `static` flag from dynamic queries. As of Angular 9, the "static" flag defaults to false and is no longer required for your view and content queries. Read more about this here: https://v9.angular.io/guide/migration-dynamic-flag

No example diff available for this migration yet.

lazy-loading-syntax

angular-cli9.0.0

Lazy loading syntax migration. Update lazy loading syntax to use dynamic imports.

No example diff available for this migration yet.

missing-injectable

angularIntroduced 9.0.0

Missing @Injectable and incomplete provider definition migration. In Angular 9, enforcement of @Injectable decorators for DI is a bit stricter and incomplete provider definitions behave differently. Read more about this here: https://v9.angular.io/guide/migration-injectable

No example diff available for this migration yet.

module-with-providers

angularIntroduced 9.0.0

ModuleWithProviders migration. In Angular 9, the ModuleWithProviders type without a generic has been deprecated. This migration adds the generic where it is missing. Read more about this here: https://v9.angular.io/guide/migration-module-with-providers

No example diff available for this migration yet.

renderer-to-renderer2

angular9.0.0

Migrates usages of Renderer to Renderer2

No example diff available for this migration yet.

undecorated-classes-with-decorated-fields

angularIntroduced 9.0.0

Undecorated classes with decorated fields migration. As of Angular 9, it is no longer supported to have Angular field decorators on a class that does not have an Angular decorator. Read more about this here: https://v9.angular.io/guide/migration-undecorated-classes

No example diff available for this migration yet.

undecorated-classes-with-di

angular9.0.0

Undecorated classes with DI migration. As of Angular 9, it is no longer supported to use Angular DI on a class that does not have an Angular decorator. Read more about this here: https://v9.angular.io/guide/migration-undecorated-classes

No example diff available for this migration yet.

workspace-version-9

angular-cli9.0.0

Angular Workspace migration. Update an Angular CLI workspace to version 9.

No example diff available for this migration yet.

schematic-options-9

angular-cli9.0.2

Replace deprecated 'styleext' and 'spec' Angular schematic options.

No example diff available for this migration yet.