Skip to content

missing abort typing for onSelect #1064

Open
@acdn-tsmith

Description

@acdn-tsmith

I have run across a typing issue when trying to consume the abort helper #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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions