Skip to content

Commit eb334ee

Browse files
committed
Merge upstream/master
2 parents a2fd571 + 65dfe4d commit eb334ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-router.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ declare module ReactRouter {
748748
* @param {routes: RouteConfig}
749749
* @param {(error:Error, redirectLocation:Location, renderProps : Object) => void} callback
750750
*/
751-
export function match({routes: RouteConfig}, callback: (error: Error, redirectLocation: Location, renderProps: any) => void): void;
751+
export function match(args: IMatchArgs, callback: (error: Error, redirectLocation: Location, renderProps: any) => void): void;
752752

753753
/**
754754
* 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.

0 commit comments

Comments
 (0)