redux-thunk-recursion-detect
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -19,4 +19,2 @@ import { | ||
* @template TBasicAction The (non-thunk) actions that can be dispatched. | ||
* @template TReturnTypeConstraint Gives the ability to restrain the possible | ||
* thunk return types | ||
*/ | ||
@@ -29,3 +27,3 @@ export interface ThunkDispatch< | ||
<TReturnType>( | ||
thunkAction: ThunkAction<TState, TExtraThunkArg, TBasicAction, TReturnType> | ||
thunkAction: ThunkAction<TReturnType, TState, TExtraThunkArg, TBasicAction> | ||
): TReturnType; | ||
@@ -47,10 +45,8 @@ <A extends TBasicAction>(action: A): A; | ||
* @template TBasicAction The (non-thunk) actions that can be dispatched. | ||
* @template TReturnTypeConstraint Gives the ability to restrain the possible | ||
* thunk return types | ||
*/ | ||
export type ThunkAction< | ||
TReturnType, | ||
TState, | ||
TExtraThunkArg, | ||
TBasicAction extends Action, | ||
TReturnType | ||
TBasicAction extends Action | ||
> = ( | ||
@@ -57,0 +53,0 @@ dispatch: ThunkDispatch<TState, TExtraThunkArg, TBasicAction>, |
{ | ||
"name": "redux-thunk-recursion-detect", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A drop-in replacement for `redux-thunk` that allows middleware to detect that a thunk has been dispatched from within another thunk", | ||
@@ -40,3 +40,3 @@ "main": "dist/reduxThunkRecursionDetect.cjs.js", | ||
}, | ||
"gitHead": "ce99a9a31342577e2c19976999ecab10ec1cdd7f" | ||
"gitHead": "82813e05d3976d70495bfdc91ced88e1161e0eb8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10829
160