Skip to content

Inconsistent typings for selectItem and onSelectedItemChange #1639

@rahcola

Description

@rahcola

The typing changes introduced to onSelectedItemChange in #1580 are inconsistent with the type of the selectItem action. Specifically the type for selectItem allows calling it with the value null that will cause onSelectedItemChange to be called with a null in the selectedItem property.

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