Re:TypeScript Won
by spion on Wednesday April 27, 2016 @11:51AM
(#11581524)
Structural is not worse than nominal. Nominal types are mostly a lie, and in the case of JS and package managers / module systems like npm / node's, they are a non-starter.
Arrays are no longer bivariant, and haven't been for at least a year. They are still covariant unfortunately.
Arrays are no longer bivariant, and haven't been for at least a year. They are still covariant unfortunately.