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.
should_proxy
1 parent 9799b89 commit 6140fdeCopy full SHA for 6140fde
packages/svelte/src/compiler/phases/3-transform/client/utils.js
@@ -258,15 +258,6 @@ export function should_proxy(node, scope) {
258
}
259
260
261
- if (node.type === 'ObjectExpression' && scope !== null) {
262
- for (let property of node.properties) {
263
- if (property.type === 'Property') {
264
- // if there are any getters/setters, return false
265
- if (property.kind !== 'init') return false;
266
- }
267
268
269
-
270
return true;
271
272
0 commit comments