Skip to content

Commit

Permalink
fix(ts): add options object with abort for onSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasnys committed Jul 10, 2024
1 parent e7dab67 commit bdc6b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/components/ember-tbody/component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface EmberTbodyArgs<RowType extends EmberTableRow> {
* An action that is called when the row selection of the table changes.
* Will be called with either an array or individual row, depending on the checkboxSelectionMode.
*/
onSelect?: (rows: RowType[] | RowType) => void;
onSelect?: (rows: RowType[] | RowType, options: { abort: boolean }) => void;

/**
* A flag that tells the table to render all of its rows at once.
Expand Down

0 comments on commit bdc6b6e

Please sign in to comment.