You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The typings for the functions slideNext and slidePrev are typed as voids in node_modules/swiper/types/swiper-class.d.ts, however when logging their return values it appears that they are indeed returning boolean values. In the stackblitz use the buttons to slide around and check the console.
Check that this is really a bug
Reproduction link
https://stackblitz.com/edit/stackblitz-starters-igjhxg?file=src%2Fmain.ts
Bug description
The typings for the functions
slideNext
andslidePrev
are typed as voids innode_modules/swiper/types/swiper-class.d.ts
, however when logging their return values it appears that they are indeed returning boolean values. In the stackblitz use the buttons to slide around and check the console.Expected Behavior
slideNext
andslidePrev
typings return booleans.Actual Behavior
slideNext
andslidePrev
typings return voids.Swiper version
11.0.5
Platform/Target and Browser Versions
macOs Chrome 119.0.6045.159
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: