Am I using `useQueries` wrong here?
It seems like the type that's coming out of
useQueries is ending up as any for me.
2 Replies
deep-jade•4y ago
just try to leave out the type annotation and write it like it were javascript 🙂
if
clientInstance.getUser is typed, everything should be inferred
the optional chaining on clientInstance?.getUser is a bit troublesome because the queryFn shouldn't return undefined!genetic-orangeOP•4y ago
Oh I see gotcha thanks for the tip