TypeScript·Advanced·Conceptual·1 min read
How do optional discriminators weaken a union?
Short interview answer
If a tag can be missing, branches overlap and exhaustive reasoning becomes harder. Require a distinct literal on every member whenever the domain supports it.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.