mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 03:37:53 +08:00
Merge pull request #23380 from lsanwick/patch-1
[redux-actions] Fix createActions argument types
This commit is contained in:
2
types/redux-actions/index.d.ts
vendored
2
types/redux-actions/index.d.ts
vendored
@@ -163,7 +163,7 @@ export interface ActionMap<Payload, Meta> {
|
||||
}
|
||||
|
||||
export function createActions<Payload>(
|
||||
actionMap: ActionMap<Payload, any>,
|
||||
actionMapOrIdentityAction: ActionMap<Payload, any> | string,
|
||||
...identityActions: string[]
|
||||
): {
|
||||
[actionName: string]: ActionFunctionAny<Action<Payload>>
|
||||
|
||||
Reference in New Issue
Block a user