Address code review

This commit is contained in:
Kanchalai Tanglertsampan 2017-02-09 12:32:50 -08:00
parent 8b8c490ff6
commit 8da2bd97bd

View File

@ -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);