diff --git a/src/components/Table/src/types/table.ts b/src/components/Table/src/types/table.ts index 908ba5e..32d96de 100644 --- a/src/components/Table/src/types/table.ts +++ b/src/components/Table/src/types/table.ts @@ -26,7 +26,7 @@ export interface TableRowSelection extends ITableRowSelection { * Callback executed when select/deselect one row * @type Function */ - onSelect?: (record: T, selected: boolean, selectedRows: object[], nativeEvent: Event) => any + onSelect?: (record: T, selected: boolean, selectedRows: T[], nativeEvent: Event) => any /** * Callback executed when select/deselect all rows @@ -307,9 +307,8 @@ export interface BasicTableProps> { /** * Row selection config - * @type object */ - rowSelection?: TableRowSelection + rowSelection?: TableRowSelection /** * Set horizontal or vertical scrolling, can also be used to specify the width and height of the scroll area.