UNPKG

@threlte/extras

Version:

Utilities, abstractions and plugins for your Threlte apps

7 lines (6 loc) 272 B
import type { Readable } from 'svelte/store'; import type { CurrentWritable } from '@threlte/core'; export type CurrentReadable<T = unknown> = Readable<T> & { current: T; }; export declare const toCurrentReadable: <T>(store: CurrentWritable<T>) => CurrentReadable<T>;