mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #14501 from nil4/master
Fix #14500 (typo in react-router/lib/Router.d.ts): patname->pathname
This commit is contained in:
Vendored
+1
-1
@@ -37,7 +37,7 @@ export type ChangeHook = (prevState: RouterState, nextState: RouterState, replac
|
||||
export type RouteHook = (nextLocation?: Location) => any;
|
||||
|
||||
export interface Location {
|
||||
patname: Pathname;
|
||||
pathname: Pathname;
|
||||
search: Search;
|
||||
query: Query;
|
||||
state: LocationState;
|
||||
|
||||
Reference in New Issue
Block a user