diff --git a/components/table/SelectionCheckboxAll.tsx b/components/table/SelectionCheckboxAll.tsx index e6e85012e1..d8ebc4a8bd 100644 --- a/components/table/SelectionCheckboxAll.tsx +++ b/components/table/SelectionCheckboxAll.tsx @@ -15,8 +15,8 @@ export interface SelectionCheckboxAllProps { store: Store; locale: any; disabled: boolean; - getCheckboxPropsByItem: (item, index) => any; - getRecordKey: (record, index?) => string; + getCheckboxPropsByItem: (item: any, index: number) => any; + getRecordKey: (record: any, index?: number) => string; data: any[]; prefixCls: string | undefined; onSelect: (key: string, index: number, selectFunc: any) => void;