Y
Hacker News
new
|
ask
|
show
|
jobs
by
Benjamin_Dobell
3549 days ago
Believe it or not, even a weakly typed language like JavaScript can take advantage of type-safe unions, thanks to Flow -
https://flowtype.org/docs/union-intersection-types.html