trying to get up and running with react-router on typescript. I have installed @types/react-router, but I am having an issue with an error that reads:
@types/react-router/index"' has no exported member 'hashHistory'
I have been trying different versions of router and the types. My current versions are:
react: 16.3.2
react-router: 4.2.0
@types/react-router: 4.0.23
I have looked at the typings project on github. The index.ds.ts does not show hashHistory being exported. However, there is a v3 folder, and the index.ds.ts there does.
I'm hoping that I just having found that magical mixture of versions for all involved packages.