Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion react-router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ declare module ReactRouter {
* @param {routes: RouteConfig}
* @param {(error:Error, redirectLocation:Location, renderProps : Object) => void} callback
*/
export function match({routes: RouteConfig}, callback: (error: Error, redirectLocation: Location, renderProps: Object) => void): void;
export function match(args: IMatchArgs, callback: (error: Error, redirectLocation: Location, renderProps: any) => void): void;

/**
* Creates and returns an array of routes from the given object which may be a JSX route, a plain object route, or an array of either.
Expand Down