Skip to content
New issue

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

[RTK Query]: Documentation for useQuery returned refetch value must be updated. #3999

Closed
domvo opened this issue Dec 19, 2023 · 0 comments
Closed

Comments

@domvo
Copy link
Contributor

domvo commented Dec 19, 2023

This change #2212 seems to not be reflected in the documentation.

The signature shows that the refetch function is returning void whereas it's actually returning Promise<void> since the aforementioned change.

image

I'm going to open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants