We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489c5b7 commit cd51a81Copy full SHA for cd51a81
src/route/Match.ts
@@ -9,7 +9,7 @@ export interface IRouteData {
9
fullRoute: string;
10
route: string;
11
parent: IRouteData;
12
- match: TRouteMatchResult;
+ matches: TRouteMatchResult;
13
}
14
15
export interface IMatchProps extends IUniversalInterfaceProps<IRouteData> {
@@ -36,7 +36,7 @@ const Match: React.SFC<IMatchProps> = (props) => {
36
const {fullRoute, route, parent} = context;
37
const matches = createMatcher(match, exact)(route);
38
39
- const data = {
+ const data: IRouteData = {
40
fullRoute,
41
route,
42
parent,
0 commit comments