@babel/types
Version:
Babel Types is a Lodash-esque utility library for AST nodes
16 lines (13 loc) • 320 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = removeComments;
var _constants = require("../constants");
function removeComments(node) {
_constants.COMMENT_KEYS.forEach(key => {
node[key] = null;
});
return node;
}
//# sourceMappingURL=removeComments.js.map
;