by insin · 9y ago · 0 comments
function somefunction(somestring/*: string*/)/*: boolean */ {
var ret/*: boolean */;
...
return ret;
}
(See https://flowtype.org/blog/2015/02/20/Flow-Comments.html)It can also build really nice HTML documentation to.