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 c793cf3 commit 51ecbefCopy full SHA for 51ecbef
packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js
@@ -125,7 +125,7 @@ export function ClassBody(node, context) {
125
? b.call('$.assignable_proxy', init, options)
126
: b.call('$.state', init, options);
127
} else {
128
- value = b.call('$derived', field.kind === 'derived_by' ? init : b.thunk(init));
+ value = b.call('$.derived', field.kind === 'derived_by' ? init : b.thunk(init));
129
}
130
131
// if no arguments, we know it's state as `$derived()` is a compile error
0 commit comments