From 8da2bd97bd0389fffb62d852d6e8ddeda53df47c Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Thu, 9 Feb 2017 12:32:50 -0800 Subject: [PATCH] Address code review --- src/compiler/emitter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 03804dfeebe..e881c94cc83 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -2239,7 +2239,7 @@ namespace ts { // a // /* End of parameter a */ -> this comment isn't considered to be trailing comment of parameter "a" due to newline // , - if (emitLeadingCommentsOfPosition && delimiter && previousSibling.end !== parentNode.end) { + if (delimiter && previousSibling.end !== parentNode.end) { emitLeadingCommentsOfPosition(previousSibling.end); } write(delimiter);