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 8b5446f commit 8a33952Copy full SHA for 8a33952
packages/svelte/src/compiler/phases/3-transform/server/transform-server.js
@@ -1442,7 +1442,7 @@ const template_visitors = {
1442
b.function_declaration(
1443
node.expression,
1444
args,
1445
- b.block(/** @type {import('estree').BlockStatement} */ (context.visit(node.body)).body)
+ /** @type {import('estree').BlockStatement} */ (context.visit(node.body))
1446
)
1447
);
1448
if (context.state.options.dev) {
0 commit comments