VarichV
tRPC4y ago
5 replies
Varich

save return type to type var

Hello, I want to save the type that return from useQuery to type variable. For example, I have this complex return type from the query and would like to do something like type userInfoType = object.

Please point me to some direction. Thank youuuuu ❤️
image.png
Was this page helpful?