Skip to content

Commit e36a37e

Browse files
committed
fix(grid): type the RowType grid property to just GridType
1 parent 0ffe5c2 commit e36a37e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

projects/igniteui-angular/src/lib/grids/common/row.interface.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { IGroupByRecord } from '../../data-operations/groupby-record.interface';
2-
import { IgxGridComponent } from '../grid/grid.component';
3-
import { IgxHierarchicalGridComponent } from '../hierarchical-grid/hierarchical-grid.component';
42
import { IgxSummaryResult } from '../summaries/grid-summary';
5-
import { IgxTreeGridComponent } from '../tree-grid/tree-grid.component';
63
import { ITreeGridRecord } from '../tree-grid/tree-grid.interfaces';
4+
import { GridType } from './grid.interface';
75

86
export interface RowType {
97
index: number;
@@ -27,7 +25,7 @@ export interface RowType {
2725
children?: ITreeGridRecord[];
2826
parent?: ITreeGridRecord;
2927
hasChildren?: boolean;
30-
grid: IgxGridComponent | IgxTreeGridComponent | IgxHierarchicalGridComponent;
28+
grid: GridType;
3129
update?: (value: any) => void;
3230
delete?: () => any;
3331
pin?: () => void;

0 commit comments

Comments
 (0)