Skip to content

Commit

Permalink
fix: SelectionSelectFn selectedRows to T generic type (ant-design#28206)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyuc authored and vouis committed Dec 10, 2020
1 parent 53755a1 commit 4ea2f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export interface SelectionItem {
export type SelectionSelectFn<T> = (
record: T,
selected: boolean,
selectedRows: Object[],
selectedRows: T[],
nativeEvent: Event,
) => void;

Expand Down

0 comments on commit 4ea2f45

Please sign in to comment.