mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
fix: fix clearFilters paramter ts type error (#51754)
This commit is contained in:
parent
5cee2b658f
commit
d9f37fe635
@ -99,6 +99,11 @@ export interface FilterConfirmProps {
|
||||
closeDropdown: boolean;
|
||||
}
|
||||
|
||||
export interface FilterRestProps {
|
||||
confirm?: boolean;
|
||||
closeDropdown?: boolean;
|
||||
}
|
||||
|
||||
export interface FilterDropdownProps {
|
||||
prefixCls: string;
|
||||
setSelectedKeys: (selectedKeys: React.Key[]) => void;
|
||||
@ -108,7 +113,7 @@ export interface FilterDropdownProps {
|
||||
* {closeDropdown: true}
|
||||
*/
|
||||
confirm: (param?: FilterConfirmProps) => void;
|
||||
clearFilters?: () => void;
|
||||
clearFilters?: (param?: FilterRestProps) => void;
|
||||
filters?: ColumnFilterItem[];
|
||||
/** Only close filterDropdown */
|
||||
close: () => void;
|
||||
|
Loading…
Reference in New Issue
Block a user