Re:Announcing TypeScript 1.8 Beta
by DCoder on Friday January 29, 2016 @01:40AM
(#10993858)
It would not be an error if not for `addToList(cats, new Dog())`. Based on that call, Flow infers that `cats` has to be a `Dog[]`, not `Cat[]`.
[ Parent
| on HN ]
There are no comments on this comment yet.