diff --git a/components/datatable/DataTable.d.ts b/components/datatable/DataTable.d.ts index 7e9f62a09..f241ae6bf 100755 --- a/components/datatable/DataTable.d.ts +++ b/components/datatable/DataTable.d.ts @@ -4,7 +4,7 @@ import { VirtualScrollerProps } from '../virtualscroller'; type DataTablePaginatorPositionType = 'top' | 'bottom' | 'both' | undefined; -type DataTableSortFieldType = string | ((item: any) => string) | undefined; +type DataTableSortFieldType = string | ((item: any) => string) | undefined | null; type DataTableDataKeyType = string | ((item: any) => string) | undefined;