Remove incorrect function/class check.

This commit is contained in:
Logan Smyth 2016-04-17 13:52:32 -07:00
parent 0be2f1cf48
commit 61e3b1d314
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ function ExportDeclaration(node: Object) {
if (node.declaration) {
let declar = node.declaration;
this.print(declar, node);
if (!(t.isStatement(declar) || t.isFunction(declar) || t.isClass(declar))) this.semicolon();
if (!t.isStatement(declar)) this.semicolon();
} else {
if (node.exportKind === "type") {
this.push("type ");

View File

@ -17,4 +17,4 @@ export default (param => {
prop1: 'prop1',
prop2: 'prop2'
}, _temp;
})
});