Update packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js

pull/16028/head
Rich Harris 4 months ago committed by GitHub
parent f8d58df1a5
commit 551437cecd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -119,7 +119,7 @@ export function RegularElement(node, context) {
'=',
left,
value.expression.type === 'SequenceExpression'
? b.call(value.expression.expressions[0])
? /** @type {Expression} */ (context.visit(b.call(value.expression.expressions[0])))
: /** @type {Expression} */ (context.visit(value.expression))
)
)

Loading…
Cancel
Save