Module '"@ionic/vue"' has no exported member 'IonInfiniteCustomEvent'

I am setting up an IonInfiniteScroll and I get the error Module ‘“@ionic/vue”’ has no exported member ‘IonInfiniteCustomEvent’.

import { IonButtons, IonContent, IonHeader, IonMenuButton, IonPage, IonTitle, IonToolbar, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInfiniteScroll, IonInfiniteScrollContent, IonInfiniteCustomEvent, IonList, IonItem, IonButton, IonSpinner, IonLabel, IonIcon, } from "@ionic/vue"; ..... export default defineComponent({ setup() { const items = reactive(Array()); const productStore = reactive(useProductStore()); const generateItems = () => { console.log("generating on Directory, setup..."); console.log(items.length); const count = items.length; for (let i = 0; i < 2; i++) { if (productStore.products[count + i]) { items.push(productStore.products[count + i]); } } }; const ionInfinite = (ev: IonInfiniteCustomEvent) => { generateItems(); setTimeout(() => ev.target.complete(), 500); }; generateItems(); return { ionInfinite, items, productStore, generateItems }; },

Sorted thanks, I simple completely removed the event typing IonInfiniteCustomEvent