mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
605c536420
Removes all `moduleId:` property references in `@Directive` and `@Component`. PR Close #49496
RemoveModuleId migration
As of Angular version 9, the moduleId property has no effect. This migration
removes the field from all @Directive or @Component decorators.
Before
@Component({
moduleId: <..>,
template: 'Works',
})
export class MyComponent {}
After
@Component({
template: 'Works',
})
export class MyComponent {}