@@ -10,7 +10,6 @@ import {
10
10
ChangeDetectionStrategy ,
11
11
Component ,
12
12
Directive ,
13
- IterableDiffers , TemplateRef ,
14
13
ViewEncapsulation
15
14
} from '@angular/core' ;
16
15
import {
@@ -30,12 +29,7 @@ import {
30
29
providers : [ { provide : CdkHeaderRowDef , useExisting : MatHeaderRowDef } ] ,
31
30
inputs : [ 'columns: matHeaderRowDef' , 'sticky: matHeaderRowDefSticky' ] ,
32
31
} )
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 { }
39
33
40
34
/**
41
35
* Footer row definition for the mat-table.
@@ -46,12 +40,7 @@ export class MatHeaderRowDef extends CdkHeaderRowDef {
46
40
providers : [ { provide : CdkFooterRowDef , useExisting : MatFooterRowDef } ] ,
47
41
inputs : [ 'columns: matFooterRowDef' , 'sticky: matFooterRowDefSticky' ] ,
48
42
} )
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 { }
55
44
56
45
/**
57
46
* Data row definition for the mat-table.
@@ -63,12 +52,7 @@ export class MatFooterRowDef extends CdkFooterRowDef {
63
52
providers : [ { provide : CdkRowDef , useExisting : MatRowDef } ] ,
64
53
inputs : [ 'columns: matRowDefColumns' , 'when: matRowDefWhen' ] ,
65
54
} )
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 > { }
72
56
73
57
/** Footer template container that contains the cell outlet. Adds the right class and role. */
74
58
@Component ( {
0 commit comments