From 3964a273cb81048b6ef4ff97a951dad7fd635e27 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 14 Mar 2024 14:40:37 +0300 Subject: [PATCH] Refactor #5349 #5341 --- components/lib/datatable/DataTable.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index d1229018a..ae1e7d490 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -14,7 +14,7 @@ import { ColumnGroupPassThroughOptionType } from '../columngroup'; import { PaginatorPassThroughOptionType } from '../paginator'; import { PassThroughOptions } from '../passthrough'; import { RowPassThroughOptionType } from '../row'; -import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough, HintedString } from '../ts-helpers'; +import { ClassComponent, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers'; import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller'; export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined; @@ -1067,7 +1067,7 @@ export interface DataTableProps { /** * A function that takes the row data as a parameter and returns a string to apply a particular class for the row. */ - rowClass?: (data: any) => object | string | undefined; + rowClass?: (data: any) => object | undefined; /** * A function that takes the row data as a parameter and returns the inline style for the corresponding row. */