News for hackers. Stuff that matters.
Re:Fast and precise type checking for JavaScript by aphexairlines on Thursday November 09, 2017 @02:13PM (#15665002)
> Flow doesn't infer

That's because the author told Flow explicitly to expect an array of strings and numbers.

Re:Fast and precise type checking for JavaScript by yladiz on Thursday November 09, 2017 @02:41PM (#15665258)
In the previous paragraph I'm more clear about my meaning, which is that the array elements are not tracked properly, meaning that Flow/TypeScript can't determine if the actual usage is valid 100% accurately.