mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Updated to pull from H.History
This commit is contained in:
3
types/react-router/index.d.ts
vendored
3
types/react-router/index.d.ts
vendored
@@ -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> { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user