From db28f45f3aa0788536c37db0fbeef8ac365cc313 Mon Sep 17 00:00:00 2001 From: Mihail Novikov Date: Mon, 19 Nov 2018 00:46:53 +0300 Subject: [PATCH] [@types/react-table] Change SortingRule --- types/react-table/index.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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