the-forest/client/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs

11 lines
298 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
"use strict";
module.exports = function convertComments(comments) {
for (const comment of comments) {
comment.type = comment.type === "CommentBlock" ? "Block" : "Line";
comment.range || (comment.range = [comment.start, comment.end]);
}
};
//# sourceMappingURL=convertComments.cjs.map