File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ interface AsyncThunkCreator<
350350 State ,
351351 CurriedThunkApiConfig extends PreventCircular < AsyncThunkConfig > = PreventCircular < AsyncThunkConfig >
352352> {
353- < ThunkArg extends any , Returned = unknown > (
353+ < Returned , ThunkArg = void > (
354354 payloadCreator : AsyncThunkPayloadCreator <
355355 Returned ,
356356 ThunkArg ,
@@ -369,8 +369,8 @@ interface AsyncThunkCreator<
369369 CurriedThunkApiConfig
370370 >
371371 <
372- ThunkArg extends any ,
373- Returned = unknown ,
372+ Returned ,
373+ ThunkArg ,
374374 ThunkApiConfig extends PreventCircular < AsyncThunkConfig > = { }
375375 > (
376376 payloadCreator : AsyncThunkPayloadCreator <
Original file line number Diff line number Diff line change @@ -666,8 +666,8 @@ const value = actionCreators.anyKey
666666 }
667667 ) ,
668668 testExplicitType : create . asyncThunk <
669- TestArg ,
670669 TestReturned ,
670+ TestArg ,
671671 {
672672 rejectValue : TestReject
673673 }
You can’t perform that action at this time.
0 commit comments