Skip to content

Commit 2b86789

Browse files
committed
fix lint
1 parent 17bb753 commit 2b86789

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/material-experimental/mdc-list/list-base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ import {startWith} from 'rxjs/operators';
2222

2323
@Directive()
2424
export class MatListBase {
25+
// @HostBinding is used in the class as it is expected to be extended. Since @Component decorator
26+
// metadata is not inherited by child classes, instead the host binding data is defined in a way
27+
// that can be inherited.
28+
// tslint:disable-next-line:no-host-decorator-in-concrete
2529
@HostBinding('class.mdc-list--non-interactive')
2630
_isNonInteractive: boolean;
2731
}

0 commit comments

Comments
 (0)