twinssbc / Ionic2-Calendar

A calendar component based on Ionic framework
https://ionic-calendar-demo.stackblitz.io
MIT License
387 stars 197 forks source link

Module '"swiper/types"' has no exported member 'SwiperOptions'. #659

Closed bebofit closed 2 months ago

bebofit commented 1 year ago

hello I have been trying to upgrade my proejct to latest ionic2-calendar but for some reason it cant detect swiper SwiperOptions.

I am using "@angular/core": "^16.2.4", "@ionic/angular": "^7.3.3", "swiper": "^10.2.0", "ionic2-calendar": "^2.1.0",

porterwilcox commented 1 year ago

Ditto

porterwilcox commented 1 year ago

Downgrading to v2.0.0 allowed the application to build but the calendar UI doesnt work at all. nothing displays

porterwilcox commented 1 year ago

Temporarily removed the type import in the day, week, month files to get this working and used any

chabaudC commented 10 months ago

Up @twinssbc still the same issue with the 2.2.0 "@angular/core": "^16.2.10", "@ionic/angular": "^7.5.5", "swiper": "^11.0.4", "ionic2-calendar": "^2.2.0",

twinssbc commented 10 months ago

Up @twinssbc still the same issue with the 2.2.0 "@angular/core": "^16.2.10", "@ionic/angular": "^7.5.5", "swiper": "^11.0.4", "ionic2-calendar": "^2.2.0",

Although not related, ionic2-calendar 2.2.0 requires angular 17. I do see SwiperOptions is exported in the swiper/types/index.d.ts.

export * from './swiper-options.d.ts';

Could you share your entire package.json so that I can test at my side?

porterwilcox commented 3 months ago

As of at least v2.4.0 this is no longer an issue