66 * found in the LICENSE file at https://angular.io/license
77 */
88
9- import { ChangeDetectionStrategy , Component , Directive , ViewEncapsulation } from '@angular/core' ;
9+ import {
10+ ChangeDetectionStrategy ,
11+ Component ,
12+ Directive ,
13+ IterableDiffers , TemplateRef ,
14+ ViewEncapsulation
15+ } from '@angular/core' ;
1016import {
1117 CDK_ROW_TEMPLATE , CdkFooterRow , CdkFooterRowDef ,
1218 CdkHeaderRow ,
@@ -24,7 +30,12 @@ import {
2430 providers : [ { provide : CdkHeaderRowDef , useExisting : MatHeaderRowDef } ] ,
2531 inputs : [ 'columns: matHeaderRowDef' ] ,
2632} )
27- export class MatHeaderRowDef extends CdkHeaderRowDef { }
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+ }
2839
2940/**
3041 * Footer row definition for the mat-table.
@@ -35,7 +46,12 @@ export class MatHeaderRowDef extends CdkHeaderRowDef { }
3546 providers : [ { provide : CdkFooterRowDef , useExisting : MatFooterRowDef } ] ,
3647 inputs : [ 'columns: matFooterRowDef' ] ,
3748} )
38- export class MatFooterRowDef extends CdkFooterRowDef { }
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+ }
3955
4056/**
4157 * Data row definition for the mat-table.
@@ -48,6 +64,10 @@ export class MatFooterRowDef extends CdkFooterRowDef { }
4864 inputs : [ 'columns: matRowDefColumns' , 'when: matRowDefWhen' ] ,
4965} )
5066export 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+ }
5171}
5272
5373/** Footer template container that contains the cell outlet. Adds the right class and role. */
0 commit comments