diff --git a/components/list/list.component.ts b/components/list/list.component.ts index 61354e9bd5..e6667cbd7d 100644 --- a/components/list/list.component.ts +++ b/components/list/list.component.ts @@ -116,7 +116,7 @@ export class NzListComponent implements AfterContentInit, OnChanges, OnDestroy, @Input() nzHeader?: string | TemplateRef; @Input() nzFooter?: string | TemplateRef; @Input() nzItemLayout: NzDirectionVHType = 'horizontal'; - @Input() nzRenderItem: TemplateRef | null = null; + @Input() nzRenderItem: TemplateRef<{ $implicit: NzSafeAny; index: number }> | null = null; @Input() @InputBoolean() nzLoading = false; @Input() nzLoadMore: TemplateRef | null = null; @Input() nzPagination?: TemplateRef;