Files
Kristiyan Kostadinov ff6be32c1a refactor(compiler): remove usages of deprecated AST creation functions (#45134)
Proactively replaces our usages of the deprecated `ts.create*` methods in favor of using `ts.factory.create*` so that we're not surprised when the TS removes them in the future. Also accounts for some cases where the signature had changed.

PR Close #45134
2022-02-22 10:22:47 -08:00
..

entryComponents migration

As of Angular version 13, the entryComponents option in @NgModule and @Component isn't necessary anymore. This migration will automatically remove any usages.

Before

import { NgModule, Component } from '@angular/core';

@Component({selector: 'my-comp', template: ''})
export class MyComp {}

@NgModule({
  declarations: [MyComp],
  entryComponents: [MyComp],
  exports: [MyComp]
})
export class MyModule {}

After

import { NgModule, Component } from '@angular/core';

@Component({selector: 'my-comp', template: ''})
export class MyComp {}

@NgModule({
  declarations: [MyComp],
  exports: [MyComp]
})
export class MyModule {}