title: Could not find a declaration file for module in React Js
body: <p><a href="https://i.stack.imgur.com/n4dzU.png" rel="nofollow noreferrer">VB CODE code</a>
  Hi everyone! I am writing a single application using REACT and when I was trying to use import { BrowserRouter, Route, Link } from &quot;react-router-dom&quot;;</p>
  <p>I am getting the following error:</p>
  <p>Could not find a declaration file for module 'react-router-dom'. 'c:/Users/paula/first-app/node_modules/react-router-dom/index.js' implicitly has an 'any' type.
  Try <code>npm install @types/react-router-dom</code> if it exists or add a new declaration (.d.ts) file containing <code>declare module 'react-router-dom';</code>ts(7016)</p>
  <p>I did install &quot;npm install react-router-dom&quot;, but can't figure out what the problem is.</p>