Clean up other statement to match style

This commit is contained in:
Henry Mercer
2017-08-19 01:00:56 +01:00
parent 424e84c112
commit eff6a3a7b6

View File

@@ -3821,7 +3821,7 @@ namespace ts {
//
const emittedExpression = skipPartiallyEmittedExpressions(expression);
if (isLeftHandSideExpression(emittedExpression)
&& (emittedExpression.kind !== SyntaxKind.NewExpression || (<NewExpression>emittedExpression).arguments)
&& (!isNewExpression(emittedExpression) || (<NewExpression>emittedExpression).arguments)
&& !isEmptyObjectLiteral(emittedExpression)) {
return <LeftHandSideExpression>expression;
}