Skip to content

Commit 8fe6f32

Browse files
committed
const
1 parent ef1ffbe commit 8fe6f32

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function ClassBody(node, context) {
118118
);
119119

120120
if (field.kind === 'state' || field.kind === 'raw_state') {
121-
let onchange = get_onchange(
121+
const onchange = get_onchange(
122122
/** @type {Expression} */ (definition.value.arguments[1]),
123123
// @ts-ignore mismatch between Context and ComponentContext. TODO look into
124124
context

0 commit comments

Comments
 (0)