Feature #14653
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
};
type MatchRoute<Params> = (route: string) => match<Params> | null;
};
type MatchRoute<Params> = (route: string) => match<Params> | null;
-type ActionCreator<Params> = (params: Params) => void;
+type ActionCreator<Params> = (params: Params) => ThunkAction<any, any, any, any>;
const handle = <Params>(matchRoute: MatchRoute<Params>, actionCreator: ActionCreator<Params>) =>
(dispatch: Dispatch, route: string) => {
const handle = <Params>(matchRoute: MatchRoute<Params>, actionCreator: ActionCreator<Params>) =>
(dispatch: Dispatch, route: string) => {