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 {