Re:React Native 0.60
by yawaramin on Saturday July 13, 2019 @01:35PM
(#20429145)
It doesn't have soundness.
[ Parent
| on HN ]
Re:React Native 0.60
by invaliduser on Saturday July 13, 2019 @03:56PM
(#20429837)
This is by design, and rather well explained in the typescript documentation: the type system is based on structural subtyping, which seems like a good tradeoff to me (but of course, as any design choice, not everyone should agree, and it's fine).