From 1e708ac5098773637d2d2a89a252a668c822d75d Mon Sep 17 00:00:00 2001 From: Lydie Danet Date: Tue, 26 Feb 2019 13:29:37 +1300 Subject: [PATCH] history-v3 Add missing hash property in Location and descriptor --- types/history/v3/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/history/v3/index.d.ts b/types/history/v3/index.d.ts index 7a6c8116bd..040f5bb0c5 100644 --- a/types/history/v3/index.d.ts +++ b/types/history/v3/index.d.ts @@ -38,6 +38,7 @@ export interface Location { pathname: Pathname; search: Search; query: Query; + hash: Hash; state: LocationState; action: Action; key: LocationKey; @@ -47,6 +48,7 @@ export interface LocationDescriptorObject { pathname?: Pathname; search?: Search; query?: Query; + hash?: Hash; state?: LocationState; }