Make input parameter to ReduxAsyncAction optional
This commit is contained in:
parent
c078f46628
commit
c2df1b1567
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "redux-token-auth",
|
||||
"version": "0.12.0",
|
||||
"version": "0.13.0",
|
||||
"description": "Redux actions and reducers to integrate with Devise Token Auth",
|
||||
"main": "dist/index.js",
|
||||
"types": "index.d.ts",
|
||||
|
|
|
@ -162,7 +162,7 @@ export type ReduxAction = RegistrationRequestSentAction
|
|||
| SignOutRequestSucceededAction
|
||||
| SignOutRequestFailedAction
|
||||
|
||||
export type ReduxAsyncAction = (input: any) => (dispatch: Dispatch<{}>) => Promise<void>
|
||||
export type ReduxAsyncAction = (input?: any) => (dispatch: Dispatch<{}>) => Promise<void>
|
||||
|
||||
export type VerifyCredentialsFunction = (store: Store<{}>) => void
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user