Skip to content

Change return type of OnLoadData interface #41

@nedsalk

Description

@nedsalk

Change it to a generic that's inferred from the function passed via useDataState. We can then take it steps further from there, for example in the initialFilter, which could then be changed to Partial<Record<keyof filter-related function parameter, corresponding value type>>.

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