diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index 9a4ad40da0..319f5a4d2e 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -166,7 +166,7 @@ export function derived(stores: Stores, fn: Function, initial_value?: T): Rea const single = !Array.isArray(stores); const stores_array: Array> = single ? [stores as Readable] : stores as Array>; if (!stores_array.every(Boolean)) { - throw new Error('derived() expects stores as input, got a falsy value') + throw new Error('derived() expects stores as input, got a falsy value'); } const auto = fn.length < 2;