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 710d6a6 commit e07672bCopy full SHA for e07672b
packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js
@@ -153,7 +153,7 @@ export function Program(node, context) {
153
);
154
} else {
155
const pattern = b.array_pattern(chunk.declarators.map(({ id }) => id));
156
- const init = b.call('$.all', b.array(chunk.declarators.map(({ init }) => init)));
+ const init = b.call('$.all', ...chunk.declarators.map(({ init }) => init));
157
body.push(b.declaration(chunk.kind, [b.declarator(pattern, b.await(init))]));
158
}
159
0 commit comments