chore(doc-gen): add TypeScript parsing

This commit is contained in:
Peter Bacon Darwin
2015-05-15 15:44:21 +01:00
parent c6dc78183d
commit 7bff919782
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ module.exports = function getContent() {
content += sourceFile.text
.substring(commentRange.pos+ '/**'.length, commentRange.end - '*/'.length)
.replace(LEADING_STAR, '')
.trim()
.trim();
if (commentRange.hasTrailingNewLine) {
content += '\n';
}