In JS, was chiefly undefined-ness / nullability. I’d make a typo; some value computed from that value would be undefined, then coerced to 0…
Conversation
flowtype.org/docs/union-int
If TS supports tagged unions, we’re good! Can you link me to docs on nullability on TS? :)
Replying to
More on unions: flowtype.org/blog/2015/07/0. Flow is probably a better fit but less mature. Maybe better anyway.
2

