Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit d914870

Browse files
authored
Fixup: convert ModuleBlock statements
1 parent 9ce0a07 commit d914870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ast-converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ module.exports = function(ast, extra) {
14941494
case SyntaxKind.ModuleBlock:
14951495
assign(result, {
14961496
type: "ModuleBlock",
1497-
body: node.statements
1497+
body: node.statements.map(convertChild)
14981498
});
14991499
break;
15001500

0 commit comments

Comments
 (0)