title: Cannot find module 'swiper/types' Angular
body: <p>I tried to follow <a href="https://swiperjs.com/angular" rel="nofollow noreferrer">https://swiperjs.com/angular</a> but I got this error,
  I also installed npm i @types/swiper but still the same error .
  Here is the error</p>
  <blockquote>
  <p>ERROR in
  node_modules/swiper/angular/angular/src/swiper.component.d.ts:5:117 -
  error TS2307: Cannot find module 'swiper/types' or its corresponding
  type declarations.</p>
  <p>5 import { SwiperOptions, SwiperEvents, NavigationOptions,
  PaginationOptions, ScrollbarOptions, VirtualOptions } from
  'swiper/types';</p>
  </blockquote>
  <p>my app module</p>
  <pre><code>import { SwiperModule } from 'swiper/angular';
  @NgModule({
    declarations: [
      AppComponent,
      HomeComponent,
    ],
    imports: [
      BrowserModule,
      BrowserAnimationsModule,
      FormsModule ,
      ReactiveFormsModule,
      HttpClientModule,
      SwiperModule
    ],
  </code></pre>
  <p>and in my global style, I added</p>
  <pre><code>@import &quot;~@angular/material/theming&quot;;
  @import '~swiper/swiper-bundle';
  </code></pre>