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 ef1ffbe commit 8fe6f32Copy full SHA for 8fe6f32
packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js
@@ -118,7 +118,7 @@ export function ClassBody(node, context) {
118
);
119
120
if (field.kind === 'state' || field.kind === 'raw_state') {
121
- let onchange = get_onchange(
+ const onchange = get_onchange(
122
/** @type {Expression} */ (definition.value.arguments[1]),
123
// @ts-ignore mismatch between Context and ComponentContext. TODO look into
124
context
0 commit comments