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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
What you were expecting: On using useGetOne and useGetMany the options argument should be typed.
useGetOne
useGetMany
What happened instead: The options have any type.
Related code: In useGetMany, I would suggest:
{ onSuccess: ({ data: (Record | undefined)[]}) => void, onFailure: (error: any) => void }
Additionally, Query should use the same types instead of just callback.
In useGetOne options have any type as well.
The text was updated successfully, but these errors were encountered:
Fixed by #5849
Sorry, something went wrong.
No branches or pull requests
What you were expecting:
On using
useGetOne
anduseGetMany
the options argument should be typed.What happened instead:
The options have any type.
Related code:
In useGetMany, I would suggest:
Additionally, Query should use the same types instead of just callback.
In useGetOne options have any type as well.
The text was updated successfully, but these errors were encountered: