ember-table
ember-table copied to clipboard
missing `abort` typing for `onSelect`
I have run across a typing issue when trying to consume the abort helper https://github.com/Addepar/ember-table/pull/918 with a multi select table. It doesn't appear that the typings have been updated: https://github.com/Addepar/ember-table/blob/master/types/components/ember-tbody/component.d.ts
I am using 5.0.6.
This is the error message I get.
Type '(selection: BlahModel | BlahModel[], { abort }: { ...; }) => void' is not assignable to type '(rows: BlahModel | BlahModel[]) => void'.
Target signature provides too few arguments. Expected 2 or more, but got 1.
Thanks!