File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const incrementAction: (...args: any[]) => ReduxActions.Action = ReduxActions.cr
16
16
) ;
17
17
const action : ReduxActions . Action = incrementAction ( 42 ) ;
18
18
19
- const incrementByAction : ( ...args : any [ ] ) => ReduxActions . Action = ReduxActions . createAction < number > (
19
+ const incrementByAction : ( ...args : any [ ] ) => ReduxActions . Action = ReduxActions . createAction < number > (
20
20
'INCREMENT_BY' ,
21
21
( amount : number ) => amount ,
22
22
amount => ( { remote : true } )
@@ -30,7 +30,6 @@ const actionHandler = ReduxActions.handleAction<number>(
30
30
) ;
31
31
state = actionHandler ( 0 , { type : 'INCREMENT' } ) ;
32
32
33
-
34
33
const actionHandlerWithReduceMap = ReduxActions . handleAction < number > (
35
34
'INCREMENT_BY' , {
36
35
next ( state : number , action : ReduxActions . Action ) {
@@ -54,3 +53,4 @@ const actionsHandlerWithInitialState = ReduxActions.handleActions<number>({
54
53
state = actionsHandlerWithInitialState ( 0 , { type : 'INCREMENT' } ) ;
55
54
56
55
56
+
You can’t perform that action at this time.
0 commit comments