mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
Clean up other statement to match style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user