diff --git a/components/table/interface.tsx b/components/table/interface.tsx index 48fcc91ef4..6f16089e1f 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -23,7 +23,7 @@ export interface FilterDropdownProps { setSelectedKeys?: (selectedKeys: string[]) => void; selectedKeys?: React.Key[]; confirm?: () => void; - clearFilters?: (selectedKeys: string[]) => void; + clearFilters?: () => void; filters?: ColumnFilterItem[]; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; visible?: boolean; @@ -53,7 +53,7 @@ export interface ColumnProps { colSpan?: number; width?: string | number; className?: string; - fixed?: boolean | (typeof ColumnFixedPlacements)[number]; + fixed?: boolean | typeof ColumnFixedPlacements[number]; filterIcon?: React.ReactNode | ((filtered: boolean) => React.ReactNode); filteredValue?: any[]; sortOrder?: SortOrder | boolean;