From b21ecf8eecd7864233bd6e7c4dcc9c8eae51181f Mon Sep 17 00:00:00 2001 From: Rahul Raina Date: Thu, 8 Mar 2018 23:16:57 -0800 Subject: [PATCH] Updated to pull from H.History --- types/react-router/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-router/index.d.ts b/types/react-router/index.d.ts index 47274d71e2..01654c8304 100644 --- a/types/react-router/index.d.ts +++ b/types/react-router/index.d.ts @@ -15,6 +15,7 @@ // Daniel Roth // Egor Shulga // Youen Toupin +// Rahul Raina // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -76,7 +77,7 @@ export interface RouteProps { export class Route extends React.Component { } export interface RouterProps { - history: any; + history: H.History; } export class Router extends React.Component { }