From 47d107bb2a8389c6ee629666ac99faae42959423 Mon Sep 17 00:00:00 2001 From: Colton Pierson Date: Wed, 8 Mar 2017 00:12:33 -0800 Subject: [PATCH] fix implicit type any in checkbox props by item values getCheckboxPropsByItem and getRecordKey (#5207) --- components/table/SelectionCheckboxAll.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;