Skip to content

Commit 8705aac

Browse files
authored
fix(interfaces): column types in GridStateChange (#609)
Both the service and the tests use the CurrentColumn type for the event GridStateType.column
1 parent 1a93b42 commit 8705aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/modules/angular-slickgrid/models/gridStateChange.interface.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Column, CurrentFilter, CurrentPagination, CurrentRowSelection, CurrentSorter, GridState, GridStateType } from './index';
1+
import { CurrentColumn, CurrentFilter, CurrentPagination, CurrentRowSelection, CurrentSorter, GridState, GridStateType } from './index';
22

33
export interface GridStateChange {
44
/** Last Grid State Change that was triggered (only 1 type of change at a time) */
55
change?: {
66
/** Grid State change, the values of the new change */
7-
newValues: Column[] | CurrentFilter[] | CurrentSorter[] | CurrentPagination | CurrentRowSelection;
7+
newValues: CurrentColumn[] | CurrentFilter[] | CurrentSorter[] | CurrentPagination | CurrentRowSelection;
88

99
/** The Grid State Type of change that was made (filter/sorter/...) */
1010
type: GridStateType;

0 commit comments

Comments
 (0)