diff --git a/ember-table/src/components/table/index.ts b/ember-table/src/components/table/index.ts index 6add11f..ee99490 100644 --- a/ember-table/src/components/table/index.ts +++ b/ember-table/src/components/table/index.ts @@ -82,10 +82,10 @@ interface RowMetaSelect { single?: boolean; } -export interface RowClickEvent { +export interface RowClickEvent { event: MouseEvent; - rowValue: T; - rowMeta: RowMeta; + rowValue: R; + rowMeta: RowMeta; tableMeta?: TableMeta; } @@ -473,7 +473,7 @@ export interface TableArgs extends TBodyArgs, THeadArgs { * * @memberof TableArgs */ - onRowClick?: (rowClickEvent: RowClickEvent) => void; + onRowClick?: (rowClickEvent: RowClickEvent) => void; /** * Event to handle double click on row