Add # to the private name in "write-only" errors (#12713)
This commit is contained in:
@@ -14,7 +14,7 @@ class Cl {
|
||||
value: 0
|
||||
});
|
||||
|
||||
this.publicField = babelHelpers.writeOnlyError("privateFieldValue");
|
||||
this.publicField = babelHelpers.writeOnlyError("#privateFieldValue");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user