revert `should_proxy` change

pull/15593/head
ComputerGuy 6 months ago
parent 9799b896f3
commit 6140fdea22

@ -258,15 +258,6 @@ export function should_proxy(node, scope) {
} }
} }
if (node.type === 'ObjectExpression' && scope !== null) {
for (let property of node.properties) {
if (property.type === 'Property') {
// if there are any getters/setters, return false
if (property.kind !== 'init') return false;
}
}
}
return true; return true;
} }

Loading…
Cancel
Save