Skip to content

Commit

Permalink
Fix imports that are assigned to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ivogabe committed Feb 19, 2016
1 parent e0bebf7 commit a5eb44f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class Parser {
if (exportNode) {
exportNodes.push(exportNode);

if (exportNode.assignmentValue) walker.descend(exportNode.assignmentValue);
if (exportNode.assignmentValue) walker.visit(exportNode.assignmentValue);
return;
}
walker.descend();
Expand Down Expand Up @@ -75,7 +75,8 @@ class Walker {
this.visit(node);
}

private visit(node: ts.Node) {
visit(node: ts.Node) {
if (!node) return;
const saveNode = this.node;
const saveIsConditional = this.isConditional;
const saveIsInFunction = this.isInFunction;
Expand Down

0 comments on commit a5eb44f

Please sign in to comment.