From 76c7baaa2c227595fe205a333a3b32ab30a9d7ef Mon Sep 17 00:00:00 2001 From: Diiegoav Date: Tue, 27 Sep 2022 10:16:17 -0500 Subject: [PATCH 1/3] Update index.d.ts --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 072b79c9..c4c11236 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -443,7 +443,7 @@ export interface Options { detailPanelColumnAlignment?: 'left' | 'right'; detailPanelOffset?: { left?: number; right?: number }; cspNonce?: string; - defaultOrderByCollection: OrderByCollection[]; + defaultOrderByCollection?: OrderByCollection[]; maxColumnSort?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ALL_COLUMNS; showColumnSortOrder?: boolean; sortOrderIndicatorStyle?: React.CSSProperties; From 9c7409dfcbafdc2eaaf305c8c74906a7e0bdb312 Mon Sep 17 00:00:00 2001 From: Diiegoav Date: Tue, 27 Sep 2022 13:44:32 -0500 Subject: [PATCH 2/3] Update index.d.ts --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index c4c11236..d6308e6f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -9,7 +9,7 @@ export type ALL_COLUMNS = 'all_columns'; export interface OrderByCollection { orderBy: number; - oderDirection: string; + orderDirection: string; sortOrder: number; } From 9e849df0f79308cba85662ad90ab326b51cd10e3 Mon Sep 17 00:00:00 2001 From: Diiegoav Date: Tue, 27 Sep 2022 13:47:50 -0500 Subject: [PATCH 3/3] Update prop-types.js --- src/prop-types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prop-types.js b/src/prop-types.js index 6848f722..2d5d3291 100644 --- a/src/prop-types.js +++ b/src/prop-types.js @@ -377,7 +377,7 @@ export const propTypes = { defaultOrderByCollection: PropTypes.arrayOf( PropTypes.shape({ orderBy: PropTypes.number, - oderDirection: PropTypes.string, + orderDirection: PropTypes.string, orderIndex: PropTypes.number }) ),