Skip to content

Commit

Permalink
fix Router componenttypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesknelson committed Mar 17, 2019
1 parent 996cf2a commit 01d6b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-navi/src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface RouterProps<Context extends object> {

history?: any

navigation?: Navigation<Context, Route>
navigation?: Navigation<Context>

routes?: Matcher<Context>
}
Expand All @@ -22,7 +22,7 @@ export class Router<Context extends object={}> extends React.Component<RouterPro
fallback: undefined,
}

navigation: Navigation<Context, Route>
navigation: Navigation<Context>

constructor(props: RouterProps<Context>) {
super(props)
Expand Down

0 comments on commit 01d6b8d

Please sign in to comment.