fbjs
fbjs copied to clipboard
type annotation in keymirror doesn't get reprinted nicely, is syntax error
var keyMirror = function<T: {}>(obj: T): $ObjMapi<T, <K>(K) => K> {
gets reprinted as
var keyMirror = function<T: {}>(obj: T): $ObjMapi<T, <K>(: K) => K> {
which doesn't parse. This will need to be fixed in Babel or we'll need a different annotation here that re-prints.
Note: I shipped this in 0.8.13. I'm reverting that changeset and publishing 0.8.14 now.