title: Unable to resolve path to module 'swiper/types/modules/navigation'
body: <p>I am upgrading <a href="https://swiperjs.com/migration-guide" rel="nofollow noreferrer">Swiper</a> from version 6 to 7.</p>
  <p>My IDE is complaining:</p>
  <blockquote>
  <p>Unable to resolve path to module
  'swiper/types/modules/navigation'.eslintimport/no-unresolved</p>
  </blockquote>
  <pre><code>import { NavigationOptions } from 'swiper/types/modules/navigation';
  </code></pre>
  <p>Also tried:</p>
  <pre><code>import { NavigationOptions } from 'swiper/types';
  </code></pre>
  <p>I also installed <a href="https://www.npmjs.com/package/@types/swiper" rel="nofollow noreferrer">@types/swiper</a>, or is this not necessary?</p>
  <p>How to solve this?</p>