Could not find a declaration file for module 'react-router-dom'. 'C:/Users/19144/Desktop/web_dev/react/coolbook/node_modules/react-router-dom/index.js' implicitly has an 'any' type. code example
Example: Could not find a declaration file for module 'react'
yarn add eslint-import-resolver-typescript -D
// Add in .eslintrc
"settings": {
"import/resolver": {
"typescript": {}
}
}