Skip to content

Commit 2b0a4e7

Browse files
committed
remove unnecessary return
1 parent 46c9dbe commit 2b0a4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function writable<T>(value: T, start: StartStopNotifier<T> = noop): Writa
8585
}
8686

8787
function update(fn: Updater<T>): void {
88-
return set(fn(value));
88+
set(fn(value));
8989
}
9090

9191
function subscribe(run: Subscriber<T>, invalidate: Invalidator<T> = noop): Unsubscriber {

0 commit comments

Comments
 (0)