title: Cannot resolve symbol 'Routes' in react-router-dom v6 using WebStorm IDE
body: <p>I've just installed react-router-dom v6 in WebStorm IDE and my problem is that in some of my files I can't import Routes properly</p>
  <p><a href="https://i.stack.imgur.com/f5hSH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f5hSH.png" alt="enter image description here" /></a></p>
  <p>The problem seems to be that it's choosing between one of these two files:</p>
  <p><a href="https://i.stack.imgur.com/d5pX5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d5pX5.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/2DEsy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2DEsy.png" alt="enter image description here" /></a></p>
  <p>The @types react-router-dom 5.3.3 seems to be the problem. In my main app.tsx file it's working but in any .js files it's not working.</p>