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 d399d8a commit a819a67Copy full SHA for a819a67
packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js
@@ -169,7 +169,9 @@ export function Program(node, context) {
169
body.splice(
170
chunk.position + offset,
171
0,
172
- b.declaration(chunk.kind ?? 'const', [b.declarator(pattern, b.await(init))])
+ b.declaration(chunk.kind ?? 'const', [
173
+ b.declarator(pattern, b.call(b.await(b.call('$.save', init))))
174
+ ])
175
);
176
}
177
offset++;
0 commit comments