Re:Prepack helps make JavaScript code more efficient
by phpnode on Wednesday May 03, 2017 @07:29PM
(#14261166)
(can't edit my post any more)
I made a plugin to do this here - https://github.com/codemix/flow-runtime/tree/master/packages...
Edit: Looks like this is targeting compiler output, so Flow types would typically be gone by that stage. Integration with Flow could come via a babel plugin that emits `__assumeDataProperty()` when it encounters a convertible Flow type.