From 2c32998ef700cd0b53440e24668c67a7cd4e0343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 9 Jan 2023 13:09:40 +0300 Subject: [PATCH] Fixed #3403 - DataTable: Invalid typing for DataTableSortFieldType --- 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..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;