mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `app-list-item` component sounds like it is used for a single item, however it renders a list of items. There were also several changes in the documentation, where it was becoming confusing if the `app-list-item` is using a single item or multiple items. This commit fixes this issue. It renames the component and its respective properties to make sure that the intention is very clear. Closes #35598 PR Close #35601
24 lines
608 B
TypeScript
24 lines
608 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { ItemDetailComponent } from './item-detail/item-detail.component';
|
|
import { ItemListComponent } from './item-list/item-list.component';
|
|
import { StringInitComponent } from './string-init/string-init.component';
|
|
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
ItemDetailComponent,
|
|
ItemListComponent,
|
|
StringInitComponent
|
|
],
|
|
imports: [
|
|
BrowserModule
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|