Ion-content scrollByPoint using composition API

I’m trying to use scrollByPoint method for ion-content element using composition API but the method doesn’t exist.

This is how I do it:

<template>
<ion-content ref="dishContent">
...
</ion-content>
</template>

<script setup>
const dishContent = ref<InstanceType<typeof IonContent>>()
...
someMethod = () => {
dishContent.value.scrollByPoint(0, ratingsWrapper.value.offsetTop, 0)
}
</script>

What am I missing?

Seems like I was able to fix it by accessing $el before firing the method:

dishContent.value.$el.scrollToBottom()

Still would be nice to hear a confirmation from someone who knows that this the correct way of accessing this method.