Skip to content

Commit 8a33952

Browse files
committed
simplify
1 parent 8b5446f commit 8a33952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/server/transform-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ const template_visitors = {
14421442
b.function_declaration(
14431443
node.expression,
14441444
args,
1445-
b.block(/** @type {import('estree').BlockStatement} */ (context.visit(node.body)).body)
1445+
/** @type {import('estree').BlockStatement} */ (context.visit(node.body))
14461446
)
14471447
);
14481448
if (context.state.options.dev) {

0 commit comments

Comments
 (0)