We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8714673 + 681c7fe commit edcb62aCopy full SHA for edcb62a
src/services/services.ts
@@ -256,7 +256,7 @@ module ts {
256
var declarations = this.getDeclarations();
257
if (declarations) {
258
for (var i = 0, n = declarations.length; i < n; i++) {
259
- this.processDocumentationCommentDeclaration(lines, declarations[0]);
+ this.processDocumentationCommentDeclaration(lines, declarations[i]);
260
}
261
262
@@ -274,7 +274,7 @@ module ts {
274
275
for (var i = 0, n = commentRanges.length; i < n; i++) {
276
this.processDocumentationCommentRange(
277
- lines, sourceFile, commentRanges[0]);
+ lines, sourceFile, commentRanges[i]);
278
279
280
0 commit comments