• Version 5.0.27
  • Published
  • 7.21 kB
  • 4 dependencies
  • MIT license


npm i @types/react-router-redux
yarn add @types/react-router-redux
pnpm add @types/react-router-redux


TypeScript definitions for react-router-redux




const CALL_HISTORY_METHOD: string;

    variable LOCATION_CHANGE

    const LOCATION_CHANGE: string;

      variable routerActions

      const routerActions: {
      push: typeof push;
      replace: typeof replace;
      go: typeof go;
      goBack: typeof goBack;
      goForward: typeof goForward;

        variable routerReducer

        const routerReducer: Reducer<RouterState, Action>;


          function createMatchSelector

          createMatchSelector: (
          path: string
          ) => (state: { router: RouterState }) => match | null;

            function go

            go: (n: number) => RouterAction;

              function goBack

              goBack: () => RouterAction;

                function goForward

                goForward: () => RouterAction;

                  function push

                  push: (location: LocationDescriptor, state?: LocationState) => RouterAction;

                    function replace

                    replace: (location: LocationDescriptor, state?: LocationState) => RouterAction;

                      function routerMiddleware

                      routerMiddleware: (history: History) => Middleware;


                        class ConnectedRouter

                        class ConnectedRouter<State> extends React.Component<ConnectedRouterProps<State>> {}


                          interface ConnectedRouterProps

                          interface ConnectedRouterProps<State> {}

                            property children

                            children?: React.ReactNode;

                              property history

                              history: History;

                                property store

                                store?: Store<State> | undefined;

                                  interface LocationActionPayload

                                  interface LocationActionPayload {}

                                    property args

                                    args?: any[] | undefined;

                                      property method

                                      method: string;

                                        interface LocationChangeAction

                                        interface LocationChangeAction {}

                                          property payload

                                          payload: Location & {
                                          | {
                                          match: {
                                          path: string;
                                          url: string;
                                          params: any;
                                          isExact: boolean;
                                          location: Location;
                                          history: History;
                                          | undefined;

                                            property type

                                            type: typeof LOCATION_CHANGE;

                                              interface RouterAction

                                              interface RouterAction {}

                                                property payload

                                                payload: LocationActionPayload;

                                                  property type

                                                  type: typeof CALL_HISTORY_METHOD;

                                                    interface RouterState

                                                    interface RouterState {}

                                                      property location

                                                      location: Location | null;

                                                        Package Files (1)

                                                        Dependencies (4)

                                                        Dev Dependencies (0)

                                                        No dev dependencies.

                                                        Peer Dependencies (0)

                                                        No peer dependencies.


                                                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/react-router-redux.

                                                        • Markdown
                                                        • HTML
                                                          <a href="https://www.jsdocs.io/package/@types/react-router-redux"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>