Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rename PrivateName.name to .id #698
Given that it refers to an identifier, it's somewhat confusing to have
This will also require anything using PrivateName in the main Babel repository to be changed, but it's probably better we do this now rather than after release.
Need to change https://github.com/babel/babylon/blob/master/ast/spec.md#privatename too then
Given that it refers to an identifier, it's somewhat confusing to have to use .name.name to get the actual string. The type declared within types.js is also incorrect, which this commit fixes.