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