Merge pull request #33399 from ldanet/fix/history/location

[history-v3] Add missing hash property in Location and descriptor
This commit is contained in:
Jesse Trinity
2019-02-28 10:31:29 -08:00
committed by GitHub
+2
View File
@@ -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;
}