3 ms·
This is due to the fact that typescript needs to interop with javascript, and existing js ecosystem has some very weird "typing" decisions. In TypeScript you ca
by littlecranky67 6y ago
This is due to the fact that typescript needs to interop with javascript, and existing js ecosystem has some very weird "typing" decisions. In TypeScript you can express types that you would never ever do in a "sane" language like C# which has proper typing design in place.
- recursive 6y agoI have wanted union types plenty of times in C#. Nullability analysis was recently added to C# (nullable reference types) but it was in tyepscript first.