From 8641df07417b98bf3ff9495dd12f397f9be4254f Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Sat, 3 Aug 2019 12:37:47 -0400 Subject: [PATCH] use export as instead of creating a new binding --- src/runtime/store/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index 6df7be6cf6..eb2eda5779 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -186,6 +186,4 @@ export function derived( * Get the current value from a store by subscribing and immediately unsubscribing. * @param store readable */ -export const get = get_store_value as { - (store: Readable): (T | undefined); -}; +export { get_store_value as get }; \ No newline at end of file