We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When calling useQuery in a TypeScript project, clear is not defined as a valid key of the returned object.
useQuery
clear
To Reproduce
Property 'clear' does not exist on type 'QueryResult<unknown, Error>'. ts(2339)
Expected behavior clear should be part of the type definition for QueryResult.
QueryResult
Additional context There might be other keys that are currently missing in the type definitions.
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 2.4.12 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When calling
useQuery
in a TypeScript project,clear
is not defined as a valid key of the returned object.To Reproduce
Property 'clear' does not exist on type 'QueryResult<unknown, Error>'. ts(2339)
Expected behavior
clear
should be part of the type definition forQueryResult
.Additional context
There might be other keys that are currently missing in the type definitions.
The text was updated successfully, but these errors were encountered: