diff --git a/types/reach__router/index.d.ts b/types/reach__router/index.d.ts index 8f698f6e08..e61e9e15ad 100644 --- a/types/reach__router/index.d.ts +++ b/types/reach__router/index.d.ts @@ -5,8 +5,8 @@ // TypeScript Version: 2.8 import * as React from "react"; -import { Location } from "history"; -export type WindowLocation = Window["location"] & Location; +import { Location as HLocation } from "history"; +export type WindowLocation = Window["location"] & HLocation; export interface History { readonly location: string;