From d0be21ed8f8fe0422e43085be06795e395dc0cd2 Mon Sep 17 00:00:00 2001 From: huangkairan <56213366+huangkairan@users.noreply.github.com> Date: Wed, 23 Mar 2022 18:30:30 +0800 Subject: [PATCH] fix(table) filterSearch TypeScript declaration (#34671) * fix: types declaration * fix(table): filterSearch TypeScript declaration --- components/table/interface.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/interface.tsx b/components/table/interface.tsx index d6477a18f2..7525c5ca92 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -113,7 +113,7 @@ export interface ColumnType extends RcColumnType { defaultFilteredValue?: FilterValue | null; filterIcon?: React.ReactNode | ((filtered: boolean) => React.ReactNode); filterMode?: 'menu' | 'tree'; - filterSearch?: boolean; + filterSearch?: FilterSearchType; onFilter?: (value: string | number | boolean, record: RecordType) => boolean; filterDropdownVisible?: boolean; onFilterDropdownVisibleChange?: (visible: boolean) => void;