Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
| undefined on tRPC procedures - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
39 replies
MoltenFuzzy
| undefined on tRPC procedures
This is a pretty noob question about typescript but a lot of the tRPC return types union a undefined type
.
Is there a better way of dealing with this linting error besides casting it to the type or giving it a conditional back up like
foo || ""
foo || ""
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Sharing Logic Across TRPC Procedures
TTC
Theo's Typesafe Cult / questions
3y ago
testing protected trpc procedures using vitest
TTC
Theo's Typesafe Cult / questions
2y ago