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 46c9dbe commit 2b0a4e7Copy full SHA for 2b0a4e7
src/runtime/store/index.ts
@@ -85,7 +85,7 @@ export function writable<T>(value: T, start: StartStopNotifier<T> = noop): Writa
85
}
86
87
function update(fn: Updater<T>): void {
88
- return set(fn(value));
+ set(fn(value));
89
90
91
function subscribe(run: Subscriber<T>, invalidate: Invalidator<T> = noop): Unsubscriber {
0 commit comments