Ionic 4 to 5 migration ion slides acting up

I just migrated my app from ionic 4 to ionic 5.

After doing this I noticed that one of my pages that uses an ion-slides element doesn’t work anymore.

The error message I’m getting is as followed:

core.js:6237 ERROR TypeError: this.slides.isBeginning is not a function

this.slides is a ViewChild of my ion-slides imported from IonSlides @ionic/angular.

I’m on version 5.1.0 of @ionic/angular

Did something change? And if so, shouldn’t this be reflected in the documentation?