|
|
|
|
|
by wereHamster
3660 days ago
|
|
Would be nice, but I think we can do much better than what TS gives us right now, on the level of the type system. What's really missing are ADTs / sum types (and pattern matching, though that is more an implementation detail). |
|
[1]: https://github.com/Microsoft/TypeScript/pull/9163