fix flow module type stripping
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user