File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3179,7 +3179,7 @@ namespace ts {
3179
3179
result.pattern = pattern;
3180
3180
}
3181
3181
if (hasComputedProperties) {
3182
- result.isObjectLiteralPatternWithComputedProperties = hasComputedProperties ;
3182
+ result.isObjectLiteralPatternWithComputedProperties = true ;
3183
3183
}
3184
3184
return result;
3185
3185
}
@@ -10378,7 +10378,7 @@ namespace ts {
10378
10378
const freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : TypeFlags.FreshLiteral;
10379
10379
result.flags |= TypeFlags.ObjectLiteral | TypeFlags.ContainsObjectLiteral | freshObjectLiteralFlag | (typeFlags & TypeFlags.PropagatingFlags);
10380
10380
if (patternWithComputedProperties) {
10381
- result.isObjectLiteralPatternWithComputedProperties = patternWithComputedProperties ;
10381
+ result.isObjectLiteralPatternWithComputedProperties = true ;
10382
10382
}
10383
10383
if (inDestructuringPattern) {
10384
10384
result.pattern = node;
You can’t perform that action at this time.
0 commit comments