@@ -260,7 +260,7 @@ export abstract class IgxGridBaseDirective implements GridType,
260
260
* ```
261
261
*/
262
262
@Input ( )
263
- public emptyGridTemplate : TemplateRef < void > ;
263
+ public emptyGridTemplate : TemplateRef < IgxGridTemplateContext > ;
264
264
265
265
/**
266
266
* Gets/Sets a custom template for adding row UI when grid is empty.
@@ -282,7 +282,7 @@ export abstract class IgxGridBaseDirective implements GridType,
282
282
* ```
283
283
*/
284
284
@Input ( )
285
- public loadingGridTemplate : TemplateRef < void > ;
285
+ public loadingGridTemplate : TemplateRef < IgxGridTemplateContext > ;
286
286
287
287
/**
288
288
* Get/Set IgxSummaryRow height
@@ -3765,7 +3765,7 @@ export abstract class IgxGridBaseDirective implements GridType,
3765
3765
this . _setupListeners ( ) ;
3766
3766
this . rowListDiffer = this . differs . find ( [ ] ) . create ( null ) ;
3767
3767
// compare based on field, not on object ref.
3768
- this . columnListDiffer = this . differs . find ( [ ] ) . create ( ( index , col : ColumnType ) => col . field ) ;
3768
+ this . columnListDiffer = this . differs . find ( [ ] ) . create ( ( _index , col : ColumnType ) => col . field ) ;
3769
3769
this . calcWidth = this . width && this . width . indexOf ( '%' ) === - 1 ? parseInt ( this . width , 10 ) : 0 ;
3770
3770
this . gridComputedStyles = this . document . defaultView . getComputedStyle ( this . nativeElement ) ;
3771
3771
}
@@ -6091,7 +6091,7 @@ export abstract class IgxGridBaseDirective implements GridType,
6091
6091
/**
6092
6092
* @hidden @internal
6093
6093
*/
6094
- public trackColumnChanges ( index , col ) {
6094
+ public trackColumnChanges ( _index , col ) {
6095
6095
return col . field + col . _calcWidth ;
6096
6096
}
6097
6097
@@ -7615,7 +7615,7 @@ export abstract class IgxGridBaseDirective implements GridType,
7615
7615
}
7616
7616
// find next/prev record that is editable.
7617
7617
const nextRowIndex = previous ? this . findPrevEditableDataRowIndex ( currentRowIndex ) :
7618
- this . dataView . findIndex ( ( rec , index ) =>
7618
+ this . dataView . findIndex ( ( _rec , index ) =>
7619
7619
index > resolvedIndex && this . isEditableDataRecordAtIndex ( index ) ) ;
7620
7620
const nextDataIndex = this . getDataIndex ( nextRowIndex ) ;
7621
7621
return nextDataIndex !== - 1 ? nextDataIndex : currentRowIndex ;
0 commit comments