Skip to content

Commit 8da2bd9

Browse files
author
Kanchalai Tanglertsampan
committed
Address code review
1 parent 8b8c490 commit 8da2bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ namespace ts {
22392239
// a
22402240
// /* End of parameter a */ -> this comment isn't considered to be trailing comment of parameter "a" due to newline
22412241
// ,
2242-
if (emitLeadingCommentsOfPosition && delimiter && previousSibling.end !== parentNode.end) {
2242+
if (delimiter && previousSibling.end !== parentNode.end) {
22432243
emitLeadingCommentsOfPosition(previousSibling.end);
22442244
}
22452245
write(delimiter);

0 commit comments

Comments
 (0)