Skip to content

Typesafe data - TypeScript #935

Open
@RemyMachado

Description

@RemyMachado

The data property is great for handling logic. However, it doesn't seem to be typesafe.

It would be nice if the DndContext & the hooks could be generic in order to keep total control of the typing.

Currently I'm using the optional chain operator everywhere ?. I need to handle this data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions