UNPKG

siegel

Version:

Web application development ecosystem

6 lines (5 loc) 492 B
import type { State, Actions, AnyError, StoreInitialized } from './types'; declare const useStore: (shouldUpdate?: import("../types").StoreShouldUpdate<import("../types").StateWithUpdater<State>> | undefined) => readonly [import("../types").StateWithUpdater<State>, import("../types").ActionsBinded<Actions>], store: import("../types").HookStore<State, Actions>, reset: () => void; export default useStore; export { store, reset }; export type { State, AnyError, Actions, StoreInitialized };