Skip to content

Commit

Permalink
⚡ revert onRow return type to any
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jun 24, 2019
1 parent 4c84c41 commit 8678c6a
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 @@ -173,7 +173,7 @@ export interface TableProps<T> {
locale?: TableLocale;
indentSize?: number;
onRowClick?: (record: T, index: number, event: Event) => void;
onRow?: (record: T, index: number) => TableEventListeners;
onRow?: (record: T, index: number) => any; // https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714
onHeaderRow?: (columns: ColumnProps<T>[]) => TableEventListeners;
useFixedHeader?: boolean;
bordered?: boolean;
Expand Down

0 comments on commit 8678c6a

Please sign in to comment.