From 33963c49d45aaa372614673df0bd4106ffaec3c0 Mon Sep 17 00:00:00 2001 From: michaeltnguyen Date: Fri, 15 Mar 2019 16:58:17 -0500 Subject: [PATCH 1/2] Fix onRowClick callback params --- types/react-virtualized/dist/es/Table.d.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/types/react-virtualized/dist/es/Table.d.ts b/types/react-virtualized/dist/es/Table.d.ts index b66fac389b..d63d593b6e 100644 --- a/types/react-virtualized/dist/es/Table.d.ts +++ b/types/react-virtualized/dist/es/Table.d.ts @@ -183,11 +183,7 @@ export class Column extends Component { } export type RowMouseEventHandlerParams = { - rowData: { - columnData: object; - id: string; - index: number; - }; + rowData: any index: number; event: React.MouseEvent; }; From a23739dd3d700b890b5c6a6ca01b84bf3a14ae58 Mon Sep 17 00:00:00 2001 From: michaeltnguyen Date: Fri, 15 Mar 2019 17:10:32 -0500 Subject: [PATCH 2/2] Update react-virtualized version in index.d.ts --- types/react-virtualized/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-virtualized/index.d.ts b/types/react-virtualized/index.d.ts index c105c4db2f..1fd2fb0b4f 100644 --- a/types/react-virtualized/index.d.ts +++ b/types/react-virtualized/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-virtualized 9.18 +// Type definitions for react-virtualized 9.21 // Project: https://github.com/bvaughn/react-virtualized // Definitions by: Kalle Ott // John Gunther