News for hackers. Stuff that matters.
Re:State of the Art JavaScript in 2016 by spicyj on Friday March 11, 2016 @06:23PM (#11270326)
For comparison, Flow supports tagged unions like this:

http://flowtype.org/blog/2015/07/03/Disjoint-Unions.html

Re:State of the Art JavaScript in 2016 by Arnavion on Friday March 11, 2016 @07:04PM (#11270519)
TS has string types starting from 1.8, although they can't be used for narrowing down the type yet in the way that Flow can.

http://bit.ly/1LhA5id