Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 27, 2020
1 parent 35b4bff commit 0557d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel-plugin-proposal-private-methods/src/index.js
Expand Up @@ -257,7 +257,7 @@ export default declare((api, options) => {

if (getter) {
descriptor.properties.push(
t.classMethod(
t.objectMethod(
"get",
t.identifier("_"),
getter.node.params,
Expand All @@ -268,7 +268,7 @@ export default declare((api, options) => {
}
if (setter) {
descriptor.properties.push(
t.classMethod(
t.objectMethod(
"set",
t.identifier("_"),
setter.node.params,
Expand Down

0 comments on commit 0557d3c

Please sign in to comment.