That's valid JS, but Flowgen has an error. Is it Flowgen's fault? (not sure if it uses Flow under the hood?)
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by trusktr and has received 0 comments.