mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
docs(ast): correct doc comment for PrivateFieldExpression (#24008)
Fix doc comment. The example wasn't valid code.
This commit is contained in:
1 parent
2e62012a1f
commit
675e6a8a66
1 file changed
+1
-1
@@ -508,7 +508,7 @@ pub struct StaticMemberExpression<'a> {
|
||||
pub optional: bool, // for optional chaining
|
||||
}
|
||||
|
||||
/// `c.#a` in `class C { #a = 1; }; const c = new C(); c.#a;`
|
||||
/// `this.#a` in `class C { #a = 1; getA() { return this.#a; } }`
|
||||
///
|
||||
/// Represents a private field access expression, which can include an object and a private identifier.
|
||||
#[ast(visit)]
|
||||
|
||||
Reference in new issue
Block a user