From df9de6832fe6a48338a5d37c3aa8c607886798e1 Mon Sep 17 00:00:00 2001 From: nil4 Date: Tue, 7 Feb 2017 23:40:58 +0100 Subject: [PATCH] Fix DefinitelyTyped/DefinitelyTyped#14500: patname->pathname --- react-router/lib/Router.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index 95b2e38267..0f7806488a 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -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;