-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(types): useQuery enabled can be any type #679
Conversation
@dpyzo0o Can you give a little bit more explanation please? |
@MichaelDeBoey As described here in the docs, |
I'm not sure what it should be in TS, but technically it can be anything that can be used to pass a boolean condition |
@dpyzo0o CI seems to fail. |
I have no idea why it failed. The type change should not break the tests. I have run |
@tannerlinsley I'm not confident enough to merge this with failing CI. |
🎉 This PR is included in version 2.4.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
enabled
can also be used for dependent queries, thus it's not restricted toboolean