import { Action, AnyAction } from 'redux' import { LoguxDispatch } from '../create-store-creator/index.js' /** * A hook to access the Logux Redux `dispatch` function. * * ```js * export const Counter = ({ value }) => { * let dispatch = useDispatch() * return ( *
* {value} * *
* ) * } * * @return Logux Redux store’s `dispatch` function. */ export function useDispatch(): LoguxDispatch