angular-docs-cn/aio/content/examples/errors/cyclic-imports/module.ts

9 lines
240 B
TypeScript

import { NgModule } from '@angular/core';
import { ChildComponent } from './child.component';
import { ParentComponent } from './parent.component';
@NgModule({
declarations: [ParentComponent, ChildComponent]
})
export class AppModule {}