diff --git a/components/datatable/DataTable.d.ts b/components/datatable/DataTable.d.ts index f241ae6bf..30ddc03b7 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. */