Skip to content

Commit bfe74de

Browse files
committed
Only ignored params need underscores
1 parent dcd2ddd commit bfe74de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/comments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ namespace ts {
260260
}
261261
}
262262

263-
function emitLeadingComment(commentPos: number, commentEnd: number, _kind: SyntaxKind, hasTrailingNewLine: boolean, rangePos: number) {
263+
function emitLeadingComment(commentPos: number, commentEnd: number, kind: SyntaxKind, hasTrailingNewLine: boolean, rangePos: number) {
264264
if (!hasWrittenComment) {
265265
emitNewLineBeforeLeadingCommentOfPosition(currentLineMap, writer, rangePos, commentPos);
266266
hasWrittenComment = true;
@@ -274,7 +274,7 @@ namespace ts {
274274
if (hasTrailingNewLine) {
275275
writer.writeLine();
276276
}
277-
else if (_kind === SyntaxKind.MultiLineCommentTrivia) {
277+
else if (kind === SyntaxKind.MultiLineCommentTrivia) {
278278
writer.write(" ");
279279
}
280280
}

0 commit comments

Comments
 (0)