Closed sakai-akinobu closed 6 years ago
@wmonk Babel 7 was released, so I fixed it again. In order to solve #27, I want to merge this pull request. How about it?
Can this please be merged? 🙏 As @sakai-akinobu points out, the signature of objectTypeAnnotation
has changed, and since the version of @babel/types
used by this package isn't pinned, it's possible for versions >= 7.0.0-beta.48
to be installed, and causes #27.
Just ran into this myself, would love to see this merged!
Released in @1.0.0
Thank you for taking the time!
Thank you for a nice module! I'm using it conveniently.
Babel v7.0.0-beta.48 it seems that the argument has been changed to objectTypeAnnotation of
babel/types
. https://github.com/babel/babel/pull/794727 Perhaps this issue is probably related to this change.
So I am glad that you will merge this fix.