fix flow module type stripping

This commit is contained in:
Sebastian McKenzie
2015-02-14 13:24:39 +11:00
parent fc8666e7a4
commit 9d1bc4817d

View File

@@ -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) {