Skip to content

Commit

Permalink
fix(module: List): fix typescript build error (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy authored Sep 5, 2019
1 parent cf12cd8 commit 46e66f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/list/list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class ListComponent {
get renderHeader() {
return this._renderHeader;
}
set renderHeader(value: string | Function | TemplateRef<any>) {
set renderHeader(value: any) {
if (value instanceof TemplateRef) {
this.renderHeaderType = 'templateRef';
} else {
Expand All @@ -39,7 +39,7 @@ export class ListComponent {
get renderFooter() {
return this._renderFooter;
}
set renderFooter(value: string | Function | TemplateRef<any>) {
set renderFooter(value: any) {
if (value instanceof TemplateRef) {
this.renderFooterType = 'templateRef';
} else {
Expand Down

0 comments on commit 46e66f2

Please sign in to comment.