Closed gajus closed 7 years ago
The annotation should work as in it verifies it is a function but it seems impossible to verify args and return type in a non intrusive way. Maybe wrapping in another fn would be OK but there's definite edge cases where it would do the wrong thing.
works in flow-runtime
Example: