Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions table/src/plugins/column-reordering/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class TableMeta {
* @private
* Used for keeping track of and updating column order
*/
export class ColumnOrder {
export class ColumnOrder<DataType = unknown> {
/**
* This map will be empty until we re-order something.
*/
Expand All @@ -237,7 +237,7 @@ export class ColumnOrder {
* - Provide `visibleColumns` to indicate which are visible
* - Hidden columns maintain their position when toggled
*/
columns: () => Column[];
columns: () => Column<DataType>[];
/**
* Optional: Record of which columns are currently visible.
* When provided, moveLeft/moveRight will skip over hidden columns.
Expand Down
Loading