diff --git a/src/compiler/factory.ts b/src/compiler/factory.ts index bb00a967336ea..342ea067c0e86 100644 --- a/src/compiler/factory.ts +++ b/src/compiler/factory.ts @@ -2287,7 +2287,7 @@ namespace ts { const node = createSynthesizedNode(SyntaxKind.PropertyAssignment); node.name = asName(name); node.questionToken = undefined; - node.initializer = initializer !== undefined ? parenthesizeExpressionForList(initializer) : undefined; + node.initializer = parenthesizeExpressionForList(initializer); return node; }