File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function testAsyncPayload() {
66
66
}
67
67
68
68
function testAsyncNoParams ( ) {
69
- const asyncNoParams = actionCreator . async < undefined ,
69
+ const asyncNoParams = actionCreator . async < void ,
70
70
{ bar : string } ,
71
71
{ baz : string } > ( 'ASYNC_NO_PARAMS' ) ;
72
72
@@ -103,7 +103,7 @@ function testAsyncNoParams() {
103
103
104
104
function testAsyncNoResult ( ) {
105
105
const asyncNoResult = actionCreator . async < { foo : string } ,
106
- undefined ,
106
+ void ,
107
107
{ baz : string } > ( 'ASYNC_NO_RESULT' ) ;
108
108
109
109
const started = asyncNoResult . started ( { foo : 'foo' } ) ;
@@ -142,8 +142,8 @@ function testAsyncNoResult() {
142
142
}
143
143
144
144
function testAsyncNoParamsAndResult ( ) {
145
- const async = actionCreator . async < undefined ,
146
- undefined ,
145
+ const async = actionCreator . async < void ,
146
+ void ,
147
147
{ baz : string } > ( 'ASYNC' ) ;
148
148
149
149
const started = async . started ( ) ;
You can’t perform that action at this time.
0 commit comments