t
tRPC
V
tRPC
•
4y 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
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Dynamic return type
O
Okan / ❓-help
3y ago
Inconsistent types for mutation return type
S
Spoonman / ❓-help
15mo ago
return type of a query endpoint
R
rustclan / ❓-help
3y ago
Type return error when using mongoose.
J
juico / ❓-help
3y ago