From cc8bd6fc09f160aff2d2e77e9c84c3afd95022ff Mon Sep 17 00:00:00 2001 From: gdh1995 Date: Sat, 28 Jan 2017 13:40:46 +0800 Subject: [PATCH] remove an odd new-line for catch clause --- src/compiler/emitter.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 27285a4c2dc..8517d16d4e7 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -1923,7 +1923,6 @@ namespace ts { } function emitCatchClause(node: CatchClause) { - writeLine(); const openParenPos = writeToken(SyntaxKind.CatchKeyword, node.pos); write(" "); writeToken(SyntaxKind.OpenParenToken, openParenPos);