Skip to content

Commit 8c1fdbc

Browse files
committed
chore(*): updating node versions in workflows
1 parent 3fb0f11 commit 8c1fdbc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x, 20.x]
19+
node-version: [20.x, 22.x]
2020

2121
steps:
2222
- name: Checkout

.github/workflows/npm-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 18
14+
node-version: 22
1515
cache: 'npm'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export abstract class IgxGridBaseDirective implements GridType,
260260
* ```
261261
*/
262262
@Input()
263-
public emptyGridTemplate: TemplateRef<void>;
263+
public emptyGridTemplate: TemplateRef<IgxGridTemplateContext>;
264264

265265
/**
266266
* Gets/Sets a custom template for adding row UI when grid is empty.
@@ -282,7 +282,7 @@ export abstract class IgxGridBaseDirective implements GridType,
282282
* ```
283283
*/
284284
@Input()
285-
public loadingGridTemplate: TemplateRef<void>;
285+
public loadingGridTemplate: TemplateRef<IgxGridTemplateContext>;
286286

287287
/**
288288
* Get/Set IgxSummaryRow height
@@ -3765,7 +3765,7 @@ export abstract class IgxGridBaseDirective implements GridType,
37653765
this._setupListeners();
37663766
this.rowListDiffer = this.differs.find([]).create(null);
37673767
// 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);
37693769
this.calcWidth = this.width && this.width.indexOf('%') === -1 ? parseInt(this.width, 10) : 0;
37703770
this.gridComputedStyles = this.document.defaultView.getComputedStyle(this.nativeElement);
37713771
}
@@ -6091,7 +6091,7 @@ export abstract class IgxGridBaseDirective implements GridType,
60916091
/**
60926092
* @hidden @internal
60936093
*/
6094-
public trackColumnChanges(index, col) {
6094+
public trackColumnChanges(_index, col) {
60956095
return col.field + col._calcWidth;
60966096
}
60976097

@@ -7615,7 +7615,7 @@ export abstract class IgxGridBaseDirective implements GridType,
76157615
}
76167616
// find next/prev record that is editable.
76177617
const nextRowIndex = previous ? this.findPrevEditableDataRowIndex(currentRowIndex) :
7618-
this.dataView.findIndex((rec, index) =>
7618+
this.dataView.findIndex((_rec, index) =>
76197619
index > resolvedIndex && this.isEditableDataRecordAtIndex(index));
76207620
const nextDataIndex = this.getDataIndex(nextRowIndex);
76217621
return nextDataIndex !== -1 ? nextDataIndex : currentRowIndex;

0 commit comments

Comments
 (0)