File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3179,7 +3179,7 @@ namespace ts {
31793179 result.pattern = pattern;
31803180 }
31813181 if (hasComputedProperties) {
3182- result.isObjectLiteralPatternWithComputedProperties = hasComputedProperties ;
3182+ result.isObjectLiteralPatternWithComputedProperties = true ;
31833183 }
31843184 return result;
31853185 }
@@ -10378,7 +10378,7 @@ namespace ts {
1037810378 const freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : TypeFlags.FreshLiteral;
1037910379 result.flags |= TypeFlags.ObjectLiteral | TypeFlags.ContainsObjectLiteral | freshObjectLiteralFlag | (typeFlags & TypeFlags.PropagatingFlags);
1038010380 if (patternWithComputedProperties) {
10381- result.isObjectLiteralPatternWithComputedProperties = patternWithComputedProperties ;
10381+ result.isObjectLiteralPatternWithComputedProperties = true ;
1038210382 }
1038310383 if (inDestructuringPattern) {
1038410384 result.pattern = node;
You can’t perform that action at this time.
0 commit comments