remove uneeded param
This commit is contained in:
parent
d5e2ac1fb6
commit
eaec0f1595
@ -216,7 +216,7 @@ var astTransformVisitor = {
|
||||
delete node.isType;
|
||||
}
|
||||
|
||||
if (this.isExportDeclaration(node)) {
|
||||
if (this.isExportDeclaration())) {
|
||||
var declar = this.get("declaration");
|
||||
if (declar.isClassExpression()) {
|
||||
node.declaration.type = "ClassDeclaration";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user