diff --git a/types/react-router-bootstrap/lib/IndexLinkContainer.d.ts b/types/react-router-bootstrap/lib/IndexLinkContainer.d.ts index 6deafb847a..10db7e399e 100644 --- a/types/react-router-bootstrap/lib/IndexLinkContainer.d.ts +++ b/types/react-router-bootstrap/lib/IndexLinkContainer.d.ts @@ -1,9 +1,9 @@ import { ComponentClass } from "react"; -import { LinkProps } from "react-router-dom"; +import { NavLinkProps } from "react-router-dom"; -//IndexLink is removed in react-router, but continues there in react-router-bootstrap for backwards compatibility. +//IndexLink is removed in react-router, but continues there in react-router-bootstrap for backwards compatibility. //Better use -type IndexLinkContainer = ComponentClass; +type IndexLinkContainer = ComponentClass; declare const IndexLinkContainer: IndexLinkContainer; export default IndexLinkContainer; diff --git a/types/react-router-bootstrap/lib/LinkContainer.d.ts b/types/react-router-bootstrap/lib/LinkContainer.d.ts index 95ee85ed48..b6fe025053 100644 --- a/types/react-router-bootstrap/lib/LinkContainer.d.ts +++ b/types/react-router-bootstrap/lib/LinkContainer.d.ts @@ -1,7 +1,7 @@ import { ComponentClass } from "react"; -import { LinkProps } from "react-router-dom"; +import { NavLinkProps } from "react-router-dom"; -type LinkContainer = ComponentClass; +type LinkContainer = ComponentClass; declare const LinkContainer: LinkContainer; export default LinkContainer; diff --git a/types/react-router-bootstrap/react-router-bootstrap-tests.tsx b/types/react-router-bootstrap/react-router-bootstrap-tests.tsx index 7816933fe6..455446f225 100644 --- a/types/react-router-bootstrap/react-router-bootstrap-tests.tsx +++ b/types/react-router-bootstrap/react-router-bootstrap-tests.tsx @@ -15,6 +15,7 @@ export class ReactRouterBootstrapTest extends Component {
+