1//// [commentLeadingCloseBrace.ts] 2declare function commentedParameters(...args): any; 3 4function ifelse() { 5 if (commentedParameters(1, 2)) { 6 /*comment1*/ 7 commentedParameters(3, 4); 8 /*comment2*/ 9 } else { 10 commentedParameters(5, 6); 11 } 12} 13 14//// [commentLeadingCloseBrace.js] 15function ifelse() { 16 if (commentedParameters(1, 2)) { 17 /*comment1*/ 18 commentedParameters(3, 4); 19 /*comment2*/ 20 } 21 else { 22 commentedParameters(5, 6); 23 } 24} 25