mirror of
https://github.com/status-im/metro.git
synced 2025-01-12 03:54:21 +00:00
d23c3ca10b
Summary: An Ast consists of `Node` elements and the one Babel uses is specific to Babel (incompatible with Astree spec by default) so `BabelNode` seems more appropriate. Keeping the other `ast` names for now to reduce the footprint of this diff. Also makes sure `babel-core` properly exports the same node type as what the api returns making fixes to this type in the future easier to implement. Reviewed By: davidaurelio Differential Revision: D6834291 fbshipit-source-id: 4cb0eb2ee280a4988071b8412539edfad12cf56f