Sign up
Sign in
One of the most common misunderstandings that arises is when developers want to perform different branching logic based on the type in the TypeScript code. Because the resultant JavaScript carries no actual type metadata, this simply doesn’t work. It is …
Charles Chen
Amy Blankenship
Follow
--
Share
This is the point of discriminated unions.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams