Closed cassus closed 9 years ago
I think this is a feature babel should optionally support (maybe via a different plugin). Right now we're dealing with the TypeAnnotation
AST nodes babel gives us, to support this we'd need to create our own from comments, it seems like it'd be overstepping the scope of this project.
It wouldn't make it to babel. https://github.com/babel/babel/issues/2038#issuecomment-122715797
http://flowtype.org/blog/2015/02/20/Flow-Comments.html