From 585ff570d6a2b45190ded02d0404008ea5fbd2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20Kaan=20=C5=9Eurgun?= Date: Wed, 28 Dec 2022 09:17:31 +0300 Subject: [PATCH] DataTable.d.ts groupRowsBy type fix --- components/datatable/DataTable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/datatable/DataTable.d.ts b/components/datatable/DataTable.d.ts index 7e9f62a09..ac785b244 100755 --- a/components/datatable/DataTable.d.ts +++ b/components/datatable/DataTable.d.ts @@ -684,7 +684,7 @@ export interface DataTableProps { /** * One or more field names to use in row grouping. */ - groupRowsBy?: (field: string) => object | string[] | string | undefined; + groupRowsBy?: ((field: string) => object) | string[] | string | undefined; /** * Whether the row groups can be expandable. */