From fac784746d9b5339cfcc50b799c9589b726ffd08 Mon Sep 17 00:00:00 2001 From: Philipp Zins Date: Thu, 23 Mar 2017 08:36:05 +0100 Subject: [PATCH] add null as a possible return vale to matchPath --- react-router/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-router/index.d.ts b/react-router/index.d.ts index f8def50624..3faa19968d 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -90,7 +90,7 @@ declare module 'react-router' { } - function matchPath

(pathname: string, props: RouteProps): match

; + function matchPath

(pathname: string, props: RouteProps): match

| null; function withRouter(component: React.SFC> | React.ComponentClass>): React.ComponentClass;