We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7da59 commit 0c8b5f4Copy full SHA for 0c8b5f4
3 files changed
tasks/buildtsdoc.js
@@ -59,7 +59,7 @@ var TypeScriptDocGenerator = (function () {
59
var startLinePosition = this.lineMap.getLineStartPosition(lc.line());
60
var comment = "\r\n" + this.repeatSpaces(nbSpaces) + "/**\r\n";
61
for (var j = 0; j < commentLines.length; j++) {
62
- comment += this.repeatSpaces(nbSpaces) + "* " + commentLines[j] + "\r\n";
+ comment += this.repeatSpaces(nbSpaces) + "* " + commentLines[j].trimRight() + "\r\n";
63
}
64
comment += this.repeatSpaces(nbSpaces) + "*/\r\n";
65
this.tsDefFileContent = this.tsDefFileContent.substr(0, startLinePosition + this.nbCharsAdded) + comment + this.tsDefFileContent.substr(startLinePosition + this.nbCharsAdded);
0 commit comments