UNPKG

@snipsonian/observable-state

Version:

Observable-state snippets (redux-like)

3 lines (2 loc) 276 B
import { IObservableStateStore, IObservableStateStoreConfig } from './types'; export default function createObservableStateStore<State, StateChangeNotificationKey = string>(config: IObservableStateStoreConfig<State>): IObservableStateStore<State, StateChangeNotificationKey>;