https://github.com/angular/angular
Raw File
Tip revision: f817e304053716d6a957c5c4863ea549ca9fbccd authored by Andrew Scott on 10 November 2021, 23:53:08 UTC
release: cut the v13.1.0-next.1 release (#44141)
Tip revision: f817e30
resource-list.module.ts
import { NgModule, Type } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ResourceListComponent } from './resource-list.component';
import { ResourceService } from './resource.service';
import { WithCustomElementComponent } from '../element-registry';

@NgModule({
  imports: [ CommonModule ],
  declarations: [ ResourceListComponent ],
  entryComponents: [ ResourceListComponent ],
  providers: [ ResourceService ]
})
export class ResourceListModule implements WithCustomElementComponent {
  customElementComponent: Type<any> = ResourceListComponent;
}
back to top