4 ms·
A function by that name is apparently treated specially for flow. My guess is it interprets it like the if statement OP ended up using, where applies the first
by geoelectric 8y ago
A function by that name is apparently treated specially for flow. My guess is it interprets it like the if statement OP ended up using, where applies the first condition to the type checking.
https://github.com/facebook/flow/issues/112 https://github.com/facebook/flow/issues/112