Closed danielkcz closed 7 years ago
Um, bump? :)
This got even worst because I started using Flow as well and in same cases it requires me to supply annotation. And of course if I do that, the generated code gets broken because of this plugin.
For anyone interested, the flow-runtime
module has this solved and can replace tcomb completely.
I am using generators for my async flow rather then await/async. I understand type checking can be tricky there, but consider this simple use case
It gets transpiled like this
As you can see main issue is that wrapping function is not a generator so things will fail with
yield
keyword in there. In should probably look like this...