We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f7566 commit 816749eCopy full SHA for 816749e
src/utils/jsObjectParser.ts
@@ -507,7 +507,7 @@ export class JsObjectParser {
507
}) as VariableExpression | PropertyExpression | undefined;
508
509
if (!existingExpr) this._merge(value, exprObject.tree, opts);
510
- } else if (opts.strategy === 'assign') {
+ } else if (forceAssign || opts.strategy === 'assign') {
511
const newExpr = this._objectToExpr(value);
512
exprObject.valueType = newExpr.valueType;
513
exprObject.tree = newExpr.tree;
0 commit comments