mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
8 lines
302 B
TypeScript
8 lines
302 B
TypeScript
///<reference path="redux-router.d.ts" />
|
|
import { reduxReactRouter, routerStateReducer, ReduxRouter, pushState } from 'redux-router';
|
|
|
|
export function someAsyncReduxAction(someArg: Object) {
|
|
return function(dispatch: (action: Object) => void) {
|
|
dispatch(pushState(null, someArg));
|
|
};
|
|
} |