diff --git a/components/table/interface.tsx b/components/table/interface.tsx index 0365fc1861..8512ea749f 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -114,7 +114,7 @@ export interface TableRowSelection { type?: RowSelectionType; selectedRowKeys?: Key[]; onChange?: (selectedRowKeys: Key[], selectedRows: T[]) => void; - getCheckboxProps?: (record: T) => Partial; + getCheckboxProps?: (record: T) => Partial>; onSelect?: SelectionSelectFn; onSelectMultiple?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void; /** @deprecated This function is meaningless and should use `onChange` instead */