UNPKG

@snipsonian/observable-state

Version:

Observable-state snippets (redux-like)

4 lines (3 loc) 333 B
import { IObservableStateStore } from './types'; export declare function registerStore<State, StateChangeNotificationKey>(store: IObservableStateStore<State, StateChangeNotificationKey>): void; export declare function getRegisteredStore<State, StateChangeNotificationKey>(): IObservableStateStore<State, StateChangeNotificationKey>;