dts-jest
Version:
A preprocessor for Jest to snapshot test TypeScript declaration (.d.ts) files
10 lines (9 loc) • 325 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.get_comment_content = void 0;
var get_comment_content = function (comment) {
return comment.startsWith('//')
? comment.slice(2).trim()
: comment.slice(2, -2).trim();
};
exports.get_comment_content = get_comment_content;