Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Arnavion
11y ago
0 comments
Share
Union types are present in the master branch of the TS compiler. The compiler also uses instanceof and typeof === ... to reduce the range of types inside a branch, similar to Flow.
0 comments
default
newest
oldest
johnny_reilly
11y ago
Due to ship with TypeScript 1.4 - see recent blog post:
http://blogs.msdn.com/b/typescript/archive/2014/11/18/what-s...
j
/
k
navigate · click thread line to collapse