diff --git a/types/react-table/index.d.ts b/types/react-table/index.d.ts index 2e9c14980c..04917fb7d1 100644 --- a/types/react-table/index.d.ts +++ b/types/react-table/index.d.ts @@ -38,12 +38,10 @@ export interface Filter { value: any; pivotId?: string; } -/** NOTE: to many configuration ways (only true values are confusing) */ + export interface SortingRule { id: string; - sort?: 'desc' | 'asc'; - asc?: true; - desc?: true; + desc: boolean; } export interface TableProps extends