Skip to content

Commit

Permalink
Update packages/babel-generator/src/generators/classes.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
  • Loading branch information
pzuraq and JLHwung committed Oct 4, 2021
1 parent 179e576 commit 7cdc5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-generator/src/generators/classes.ts
Expand Up @@ -127,6 +127,7 @@ export function ClassAccessorProperty(
this.tsPrintClassMemberModifiers(node, /* isField */ true);

this.word("accessor");
this.printInnerComments(node);
this.space();

if (node.computed) {
Expand Down

0 comments on commit 7cdc5a0

Please sign in to comment.