From 95a2eddf3b91174b9d3e77263cc4c17654f68c85 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Thu, 6 Apr 2017 18:04:02 -0400 Subject: [PATCH] Fix definition of `isActive` prop to `NavLink` --- types/react-router-dom/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-router-dom/index.d.ts b/types/react-router-dom/index.d.ts index 6c480d46c0..ba0ae3bd88 100644 --- a/types/react-router-dom/index.d.ts +++ b/types/react-router-dom/index.d.ts @@ -50,7 +50,7 @@ declare module 'react-router-dom' { activeStyle?: React.CSSProperties; exact?: boolean; strict?: boolean; - isActive?(location: H.Location, props: any): boolean; + isActive?

(match: match

, location: H.Location): boolean; } class NavLink extends React.Component {}