Skip to content

Commit

Permalink
fix flow module type stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmck committed Feb 14, 2015
1 parent fc8666e commit 9d1bc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/6to5/transformation/transformers/other/flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports.TypeCastExpression = function (node) {
};

exports.ImportDeclaration = function (node) {
if (node.type) this.remove();
if (node.isType) this.remove();
};

exports.ExportDeclaration = function (node) {
Expand Down

0 comments on commit 9d1bc48

Please sign in to comment.