@@ -10,7 +10,6 @@ import {
1010 ChangeDetectionStrategy ,
1111 Component ,
1212 Directive ,
13- IterableDiffers , TemplateRef ,
1413 ViewEncapsulation
1514} from '@angular/core' ;
1615import {
@@ -30,12 +29,7 @@ import {
3029 providers : [ { provide : CdkHeaderRowDef , useExisting : MatHeaderRowDef } ] ,
3130 inputs : [ 'columns: matHeaderRowDef' , 'sticky: matHeaderRowDefSticky' ] ,
3231} )
33- export class MatHeaderRowDef extends CdkHeaderRowDef {
34- // TODO(andrewseguin): Remove this constructor after compiler-cli is updated; see issue #9329
35- constructor ( template : TemplateRef < any > , _differs : IterableDiffers ) {
36- super ( template , _differs ) ;
37- }
38- }
32+ export class MatHeaderRowDef extends CdkHeaderRowDef { }
3933
4034/**
4135 * Footer row definition for the mat-table.
@@ -46,12 +40,7 @@ export class MatHeaderRowDef extends CdkHeaderRowDef {
4640 providers : [ { provide : CdkFooterRowDef , useExisting : MatFooterRowDef } ] ,
4741 inputs : [ 'columns: matFooterRowDef' , 'sticky: matFooterRowDefSticky' ] ,
4842} )
49- export class MatFooterRowDef extends CdkFooterRowDef {
50- // TODO(andrewseguin): Remove this constructor after compiler-cli is updated; see issue #9329
51- constructor ( template : TemplateRef < any > , _differs : IterableDiffers ) {
52- super ( template , _differs ) ;
53- }
54- }
43+ export class MatFooterRowDef extends CdkFooterRowDef { }
5544
5645/**
5746 * Data row definition for the mat-table.
@@ -63,12 +52,7 @@ export class MatFooterRowDef extends CdkFooterRowDef {
6352 providers : [ { provide : CdkRowDef , useExisting : MatRowDef } ] ,
6453 inputs : [ 'columns: matRowDefColumns' , 'when: matRowDefWhen' ] ,
6554} )
66- export class MatRowDef < T > extends CdkRowDef < T > {
67- // TODO(andrewseguin): Remove this constructor after compiler-cli is updated; see issue #9329
68- constructor ( template : TemplateRef < any > , _differs : IterableDiffers ) {
69- super ( template , _differs ) ;
70- }
71- }
55+ export class MatRowDef < T > extends CdkRowDef < T > { }
7256
7357/** Footer template container that contains the cell outlet. Adds the right class and role. */
7458@Component ( {
0 commit comments