Some unit tests are failing with the latest version of Babel.
Map and Set are always in scope, making the plugin revert to generic type checks because it thinks they are overridden.
The path cache was removed in https://phabricator.babeljs.io/T7179 meaning getNodePath is not able to find the types, and just reverts to the type name.
I'm not sure how to fix this last issue without propagating the actual path, the issue makes it sound like that shouldn't be possible anymore.
Some unit tests are failing with the latest version of Babel.
getNodePath
is not able to find the types, and just reverts to the type name.I'm not sure how to fix this last issue without propagating the actual path, the issue makes it sound like that shouldn't be possible anymore.