Merge pull request #14501 from nil4/master

Fix #14500 (typo in react-router/lib/Router.d.ts): patname->pathname
This commit is contained in:
Arthur Ozga
2017-02-08 11:05:01 -08:00
committed by GitHub
+1 -1
View File
@@ -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;