bulletproof-react
bulletproof-react copied to clipboard
Using a `select` function with hooks gives type errors
If I try to use react query's select feature with one of the wrapped useQuery's in this repo, I get a type error specifying a mismatch between the returned type from select and the returned type of the useQuery hook.
Hey @alan2207, can I look into this?
@adiig7 that would be great, go ahead! :)
Thanks for checking this! I spent a bit of time trying to tweak some types but I haven't been able to crack it yet
Let me know if you're unable to reproduce the issue, I'm happy to clone the repo and make a brief demo