Fix missing inner comments in class expressions (#13821)

This commit is contained in:
overlookmotel
2021-10-06 13:54:20 +01:00
committed by GitHub
parent 7acc68a86b
commit 58a65e99c0
4 changed files with 18 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ export function ClassDeclaration(
}
this.word("class");
this.printInnerComments(node);
if (node.id) {
this.space();