useQuery types are `never`
i don't even know how to explain this, why are all the types in useQuery
never
?
I just added convex to an existing react typescript project
is there something else i'm supposed to do before i start using convex functions in /convex
?
EDIT: interestingly, using useQueryGeneric works?

6 Replies
Curious what the type of API if you import that from
./convex/_generated/api
, sounds like an issue with that generated code or an issue with one of your convex functionslemme try that import
also, the convex function works just right when i use the generic one, so i doubt it could be the convex function
this seems fine? atleast i don't see any type
never

wait
hol up
it fixed itself
useQuery works fine now?
i didn't even restart my workspace or anything-
huh, still helpful to hear about
👍
thanks!