-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup NodePath
methods
#16443
Milestone
Comments
This was referenced May 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a lot of methods on
NodePath
that aren't really meant to be public -- it's just that we expose all the function exported by the internal files that implement the variousNodePath
actually-public methods.We should go through all of them and only expose those that are actually used outside of
@babel/traverse
, ideally with an explicit list rather than doingbabel/packages/babel-traverse/src/path/index.ts
Lines 220 to 233 in 941cee2
The text was updated successfully, but these errors were encountered: