UNPKG
neuro-store
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
neuro-store
github.com/riteshmyhub/neuro-store
riteshmyhub/neuro-store
neuro-store
/
dist
/
hooks
/
index.d.ts
6 lines
(5 loc)
•
250 B
TypeScript
View Raw
1
2
3
4
5
6
declare
const
useDispatch
:
() =>
import
(
"react"
).
Dispatch
<
any
> & {
withPromise
:
(
action
:
any
) =>
Promise
<
any
>; };
declare
function
useSelector<
State
,
Selected
>(
selector
:
(
state
:
State
) =>
Selected
):
Selected
;
export
{ useDispatch, useSelector };