diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 36f291ce7..66cdd777b 100755 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -7,7 +7,7 @@ type DataTablePaginatorPositionType = 'top' | 'bottom' | 'both' | undefined; type DataTableSortFieldType = string | ((item: any) => string) | undefined; -type DataTableDataKeyType = string | (() => string) | undefined; +type DataTableDataKeyType = string | ((item: any) => string) | undefined; type DataTableMultiSortMetaType = DataTableSortMeta[] | undefined | null;