diff --git a/src/runtime/store/index.ts b/src/runtime/store/index.ts index 0f97d1341a..8cf5ef134e 100644 --- a/src/runtime/store/index.ts +++ b/src/runtime/store/index.ts @@ -201,4 +201,6 @@ export function derived(stores: Stores, fn: Function, initial_value?: T): Rea * Get the current value from a store by subscribing and immediately unsubscribing. * @param store readable */ -export { get_store_value as get }; \ No newline at end of file +export const get = get_store_value as { + (store: Readable): (T | undefined); +};