Open cannibalisticwalrus opened 1 year ago
Install @types/react-router-hash-link
(npm
/yarn
) and save it to your package.json
devDependencies
It helps me, thanks @scarabaeus
"devDependencies": {
"@types/react-router-hash-link": "^2.4.9",
},
import { HashLink } from 'react-router-hash-link';
The import is as above and it was installed using NPM and @types
I believe it is highly likely that I am doing something wrong but I cannot identify what.