Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit ccd84ca

Browse files
authored
Merge pull request #3 from jacob-ebey/patch-2
Finished updating the interfaces.
2 parents ee5ff03 + d3f5ebf commit ccd84ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/use-react-router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { __RouterContext, RouteComponentProps } from 'react-router';
66
import useForceUpdate from 'use-force-update';
77

88
interface UseRouter {
9-
(): RouteComponentProps<{}>;
9+
<T = {}>(): RouteComponentProps<T>;
1010
}
1111

1212
interface VoidFunction {

0 commit comments

Comments
 (0)