-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Description
Vue version
3.5.24
Link to minimal reproduction
Steps to reproduce
Mouseover the type E2 of the reproduction above, and it's shown as type E2 = ((event: "textchange", value: string) => void) & ((event: "buttonclick", id: number) => void)
Generally: get the instance type of some component that has at least 2 emits and look at its .$emit
What is expected?
Type of emitter functions are joined with union(|)
What is actually happening?
They are joined with Intersection(&)
System Info
Any additional comments?
It results in misworking of vue-component-type-helpers's ComponentEmit<T>
Metadata
Metadata
Assignees
Labels
No labels