Updated to pull from H.History

This commit is contained in:
Rahul Raina
2018-03-08 23:16:57 -08:00
parent fe94393d6a
commit b21ecf8eec

View File

@@ -15,6 +15,7 @@
// Daniel Roth <https://github.com/DaIgeb>
// Egor Shulga <https://github.com/egorshulga>
// Youen Toupin <https://github.com/neuoy>
// Rahul Raina <https://github.com/rraina>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
@@ -76,7 +77,7 @@ export interface RouteProps {
export class Route<T extends RouteProps = RouteProps> extends React.Component<T, any> { }
export interface RouterProps {
history: any;
history: H.History;
}
export class Router extends React.Component<RouterProps, any> { }