use export as instead of creating a new binding

pull/7738/head
Richard Harris 6 years ago
parent 8f32e0e346
commit 34b5e31df2

@ -186,6 +186,4 @@ export function derived<T, S extends Stores>(
* Get the current value from a store by subscribing and immediately unsubscribing. * Get the current value from a store by subscribing and immediately unsubscribing.
* @param store readable * @param store readable
*/ */
export const get = get_store_value as { export { get_store_value as get };
<T>(store: Readable<T>): (T | undefined);
};
Loading…
Cancel
Save