Y
Hacker News
new
|
ask
|
show
|
jobs
by
aphexairlines
3148 days ago
> Flow doesn't infer
That's because the author told Flow explicitly to expect an array of strings and numbers.
1 comments
yladiz
3148 days ago
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.
link