This separates `classPrivateMethods`'s dependency on `classPrivateProperties`. It also starts a `PrivateName` at the hash symbol, not the `Identifier`.
5 lines
122 B
JSON
5 lines
122 B
JSON
{
|
|
"throws": "Classes may not have a private field named '#constructor' (2:2)",
|
|
"plugins": [ "classPrivateMethods" ]
|
|
}
|