force space before class id when generating classes - fixes #1579
This commit is contained in:
@@ -3,7 +3,7 @@ export function ClassDeclaration(node, print) {
|
||||
this.push("class");
|
||||
|
||||
if (node.id) {
|
||||
this.space();
|
||||
this.push(" ");
|
||||
print(node.id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user