Merge pull request #13750 from gdh1995/fix-typo-in-catch

remove an odd new-line for catch clause
This commit is contained in:
Mohamed Hegazy 2017-01-31 11:42:35 -08:00 committed by GitHub
commit cf20850e79

View file

@ -1923,7 +1923,6 @@ namespace ts {
}
function emitCatchClause(node: CatchClause) {
writeLine();
const openParenPos = writeToken(SyntaxKind.CatchKeyword, node.pos);
write(" ");
writeToken(SyntaxKind.OpenParenToken, openParenPos);