Fixed #2378 - TreeTable and DataTable | Typescript Definition Bug for global Filters

pull/2438/head
Tuğçe Küçükoğlu 2022-04-11 14:54:26 +03:00
parent 6303b5c73a
commit c435633589
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ export interface DataTableFilterMeta {
* Filter keys
* @see DataTableFilterMetaData
*/
[key: string]: DataTableFilterMetaData | DataTableOperatorFilterMetaData;
[key: string]: string | DataTableFilterMetaData | DataTableOperatorFilterMetaData;
}
export interface DataTableSortMeta {

View File

@ -55,7 +55,7 @@ export interface TreeTableFilterMeta {
* Filter keys
* @see TreeTableFilterMetaData
*/
[key: string]: TreeTableFilterMetaData | TreeTableOperatorFilterMetaData;
[key: string]: string | TreeTableFilterMetaData | TreeTableOperatorFilterMetaData;
}
export interface TreeTableSortEvent {