this is wrong

pull/12272/head
Rich Harris 2 years ago
parent 32b72b569c
commit 696035a9ad

@ -38,7 +38,7 @@ export function derived(fn) {
};
if (current_reaction !== null && (current_reaction.f & DERIVED) !== 0) {
var current_derived = /** @type {import('#client').Derived<V>} */ (current_reaction);
var current_derived = /** @type {import('#client').Derived} */ (current_reaction);
if (current_derived.deriveds === null) {
current_derived.deriveds = [signal];
} else {

Loading…
Cancel
Save