From c4356335899b2f06ec9e7432306955c13700b449 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, 11 Apr 2022 14:54:26 +0300 Subject: [PATCH] Fixed #2378 - TreeTable and DataTable | Typescript Definition Bug for global Filters --- src/components/datatable/DataTable.d.ts | 2 +- src/components/treetable/TreeTable.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 6f98873b9c..e44ec581e8 100755 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -75,7 +75,7 @@ export interface DataTableFilterMeta { * Filter keys * @see DataTableFilterMetaData */ - [key: string]: DataTableFilterMetaData | DataTableOperatorFilterMetaData; + [key: string]: string | DataTableFilterMetaData | DataTableOperatorFilterMetaData; } export interface DataTableSortMeta { diff --git a/src/components/treetable/TreeTable.d.ts b/src/components/treetable/TreeTable.d.ts index fce08b39b6..7fee488299 100755 --- a/src/components/treetable/TreeTable.d.ts +++ b/src/components/treetable/TreeTable.d.ts @@ -55,7 +55,7 @@ export interface TreeTableFilterMeta { * Filter keys * @see TreeTableFilterMetaData */ - [key: string]: TreeTableFilterMetaData | TreeTableOperatorFilterMetaData; + [key: string]: string | TreeTableFilterMetaData | TreeTableOperatorFilterMetaData; } export interface TreeTableSortEvent {