From af2dd379c2cadb366265a2ab499b00ac49de36b0 Mon Sep 17 00:00:00 2001 From: Dean van Niekerk Date: Wed, 13 Nov 2019 01:51:53 +0200 Subject: [PATCH] Fixed typing issue in Table > filterDropdown (#19701) --- components/table/interface.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;