Search
Star
1.6k
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
Delvis
Can typescript infer from ternary operator?
Const example
= test
=
=
= true
?
{count
: 5
}
:
{string
:
"string
"
}
Is that possible to somehow get this working
.
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy