Skip to content

Commit 85f84ca

Browse files
committed
lint
1 parent ec2bb95 commit 85f84ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ export function VariableDeclaration(node, context) {
7676

7777
const args = /** @type {CallExpression} */ (init).arguments;
7878
const value =
79-
args.length === 0 ? b.unary('void', b.literal(0)) : /** @type {Expression} */ (context.visit(args[0]));
79+
args.length === 0
80+
? b.unary('void', b.literal(0))
81+
: /** @type {Expression} */ (context.visit(args[0]));
8082

8183
if (rune === '$derived.by') {
8284
declarations.push(

0 commit comments

Comments
 (0)