Skip to content

TS type for "data" return by useResource isn't correct #85

@mhum

Description

@mhum

When data is returned by useResource, its value is undefined until loading is true. The current typing implies it is never undefined so current type checking doesn't ensure it's being used correctly.

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