interlockjs/interlock

Add flow infrastructure

Closed this issue · 1 comments

Add flow infrastructure

Because pluggables add a layer of indirection, Flow has trouble inferring the argument and function types of the compilation functions. One option would be to introduce a babel plugin that transforms normal functions into pluggable functions, given some sort of annotation. This would add a lot of magic, however, which is a significant downside.

Going to table this for now and revisit if something changes.