From c17331754d64152ce2845d5821b446423449847d Mon Sep 17 00:00:00 2001 From: Brian Takita Date: Thu, 11 Jul 2019 03:30:35 -0400 Subject: [PATCH] remove unnecessary return --- src/runtime/store/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index 25c37945c6..98761b847f 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -85,7 +85,7 @@ export function writable(value: T, start: StartStopNotifier = noop): Writa } function update(fn: Updater): void { - return set(fn(value)); + set(fn(value)); } function subscribe(run: Subscriber, invalidate: Invalidator = noop): Unsubscriber {