New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 [BUG]: some event Types are missing (nodeClick, nodeDoubleClick, ...) #1342
Comments
Thanks for the report. Though there is a solution for this and it will be released with the next patch ( |
Fixed with |
Mh... seems like this introduced different warnings now 馃ぃ |
Changing the order of the events in the interface actually solved the issue... |
@bcakmakoglu I just updated to the latest release (1.33.4) and the events In my case:
Seems like Vue is behaving here quite weird in generating the type definition? O.o |
Ugh... really? I'll see if there's more moving around I can do that'll fix it or ask someone in the Vue Discord what the hell is up with this issue. Will re-open this issue again until this is properly sorted out 馃ゲ |
Is there an existing issue for this?
Current Behavior
The published build seems to be missing some event type definitions for Typescript.
The events for
@node-click
,@node-double-click
,@node-context-menu
,@nodes-change
, ... still work like expected, but the types are missing inVueFlow.vue.d.ts
.The
edge
-Emits on the other hand work like expected.Expected Behavior
The emit types for the mentioned emits should appear within the released build.
Steps To Reproduce
@vue-flow/core
@node-click
=> Typescript doesn't know the event
Relevant log output
No response
Anything else?
With v1.23.0 it still worked and since v1.24.0 the problem exists.
The
FlowEmits
type within vue-flow's source seems to be correct, but for some reason some events get missing within the type-defintion fileVueFlow.vue.d.ts
.The text was updated successfully, but these errors were encountered: