-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add noUninitializedPrivateFieldAccess
assumption docs
#2865
Add noUninitializedPrivateFieldAccess
assumption docs
#2865
Conversation
✅ Deploy Preview for babel-next ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
return MyClass.#id; | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without assumption:
class MyClass {
method() {
return _id._;
}
}
var _id = {
_: 123
};
With assumption:
class MyClass {
method() {
return _id;
}
}
var _id = 123;
✅ Deploy Preview for babel ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
noUninitializedPrivateFieldAccess
assunption docsnoUninitializedPrivateFieldAccess
assumption docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a note that this assumption is supported since 7.24.0?
Co-authored-by: Brian Ng <bng412@gmail.com>
Docs for babel/babel#16267