-
-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Description
The documentation states that a TColumn's sort property's type can either be a Boolean or a SortConfig: https://gridjs.io/docs/config/sort#generic-sort-config
However, the TColumn interface defines the sort property as a nullable SortConfig: https://github.com/grid-js/gridjs/blob/master/src/types.ts#L34
The code behaves like the documentation, so the interface should be updated to reflect the documentation:
export interface TColumn {
// ...
sort?: boolean | SortConfig;
// ...
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels