Typing commands for extended nodes #5827
Unanswered
arrocke
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I extended the Link node extension to add a command
openLinkModal
which as it says opens a modal to edit the current link. However when I try to type the command, I get a typescript errorSubsequent property declarations must have the same type...
. I don't want to change the node name, or copy the extension into my source code. We've got other extensions, far more complicated that this problem applies to where those aren't going to be viable options. Anybody have ideas?Here is the extension file:
Beta Was this translation helpful? Give feedback.
All reactions