UNPKG

mutoid

Version:

Reactive library for data fetching, caching, state management

5 lines (4 loc) 230 B
import type { Lazy } from 'fp-ts/function'; import type * as MS from '../state'; import type { StoreName } from '../state/stores'; export declare function useStore<N extends StoreName, S>(s: Lazy<MS.Store<N, S>>): MS.Store<N, S>;