Skip to content

Commit

Permalink
Enable private methods parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Ricard committed Jun 22, 2018
1 parent 8358464 commit 99feb31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/babel-plugin-syntax-class-properties/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export default declare(api => {

return {
manipulateOptions(opts, parserOpts) {
parserOpts.plugins.push("classProperties", "classPrivateProperties");
parserOpts.plugins.push(
"classProperties",
"classPrivateProperties",
"classPrivateMethods",
);
},
};
});

0 comments on commit 99feb31

Please sign in to comment.