From f9d49356aea7f08cf7cab3c98199aae47aa757ad Mon Sep 17 00:00:00 2001 From: Nelson Javier Novoa Tellez Date: Mon, 22 Oct 2018 10:43:25 -0500 Subject: [PATCH] Expose globalHistory as @reach/router does --- types/reach__router/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/reach__router/index.d.ts b/types/reach__router/index.d.ts index 3a849dd8ee..792662027c 100644 --- a/types/reach__router/index.d.ts +++ b/types/reach__router/index.d.ts @@ -147,3 +147,5 @@ export interface RedirectRequest { export function isRedirect(error: any): error is RedirectRequest; export function redirectTo(uri: string): void; + +export const globalHistory: History;