u/dymosin r/typescript • Recommends
On “What practical uses of the ternary have you found?”
As an aside, once you start looking at more complex conditional types, you can use something like Type Buddy to deconstruct it into a nested structure to make it more readable.(The creator also has a YouTube video explaining that in more detail.)