UNPKG
typedux
Version:
latest (3.0.23)
3.0.23
3.0.22
3.0.21
3.0.20
3.0.19
3.0.18
3.0.17
3.0.16
3.0.15
3.0.14
3.0.13
3.0.12
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.35
2.0.34
2.0.33
2.0.31
2.0.30
2.0.29
2.0.28
2.0.26
2.0.23
2.0.21
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.5
2.0.4
2.0.3
2.0.2
2.0.0
0.1.20
0.1.18
0.1.17
0.1.16
0.1.15
0.1.13
0.1.12
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.1
0.1.0
Slightly adjusted Redux (awesome by default) for TS
github.com/densebrain/typedux
densebrain/typedux
typedux
/
dist
/
esm
/
reducers
/
ReducerTypes.d.ts
7 lines
(6 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
ActionMessage
}
from
'../actions'
;
import
{
State
}
from
'./State'
;
/** * Internal reducer type */
export
declare
type
Reducer
<S
extends
State
, A
extends
ActionMessage
<S>> =
(
state
: S,
message
: A
) =>
S;