We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
void
undefined
1 parent8eb57d5 commit215a078Copy full SHA for 215a078
tests/typings/index.ts
@@ -66,7 +66,7 @@ function testAsyncPayload() {
66
}
67
68
functiontestAsyncNoParams(){
69
-constasyncNoParams=actionCreator.async<undefined,
+constasyncNoParams=actionCreator.async<void,
70
{bar:string},
71
{baz:string}>('ASYNC_NO_PARAMS');
72
@@ -103,7 +103,7 @@ function testAsyncNoParams() {
103
104
functiontestAsyncNoResult(){
105
constasyncNoResult=actionCreator.async<{foo:string},
106
-undefined,
+void,
107
{baz:string}>('ASYNC_NO_RESULT');
108
109
conststarted=asyncNoResult.started({foo:'foo'});
@@ -142,8 +142,8 @@ function testAsyncNoResult() {
142
143
144
functiontestAsyncNoParamsAndResult(){
145
-constasync=actionCreator.async<undefined,
146
+constasync=actionCreator.async<void,
147
{baz:string}>('ASYNC');
148
149
conststarted=async.started();