Skip to content

[Type Bug]initialData's type doesn't match the return type of queryFn #66

@ylc395

Description

@ylc395
createQuery(() => 1, { initialData: '2'})

This demo should have been reported a type error, but it didn't. Is it a bug ? But I have no idea how to fix this type bug, so just raise this issue.

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