📜  请添加@Pipe @Directive @Component 注释. - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:24.109000             🧑  作者: Mango

代码示例1
import { SharedModule } from './modules/shared/shared.module';

@NgModule({
  declarations: [
     // Should not have been added here...
  ],
  imports: [
     SharedModule
  ],