If you know how to fix the issue, make a pull request instead.
@types/react-router-dom (4.3.4) package and had problems.Definitions by: in index.d.ts) so they can respond.When using this package with "react-router-dom": "^5.0.1" and trying to use the activeClassName on a Link i get the following error:
TypeScript error in D:/Projects/MiFloraSwarm/MiFloraGateway/ClientApp/src/Header.tsx(8,14):
Type '{ children: string; to: string; className: string; activeClassName: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Link> & Readonly<LinkProps> & Readonly<{ children?: ReactNode; }>'.
Property 'activeClassName' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Link> & Readonly<LinkProps> & Readonly<{ children?: ReactNode; }>'. TS2322
Any chance we could get a update to 5.0.X?
any update on this?
+1 on this, it would be great to have it
@AnderssonPeter Hey, switch to
@jaysoo switch to what?
@eps1lon looks like you are right, thanks! (sorry for being confused)