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
Type '(args: { url: string | undefined; index: number;}) => void' is not assignable to type '($event?: undefined) => any'.
Types of parameters 'args' and '$event' are incompatible.ts(2322)
My Vue version is 3.4.21 and Typescript is 5.4.2.
The text was updated successfully, but these errors were encountered:
I'm using Vue 3.3+ syntax for defining my emits:
But when I try to attach a handler function to this emit:
<my-component @ItemClicked="showItem" />
Typescript keeps show the following error:
My Vue version is
3.4.21
and Typescript is5.4.2
.The text was updated successfully, but these errors were encountered: