Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better types for event emitter #1898

Closed
philippkuehn opened this issue Sep 16, 2021 · 2 comments · Fixed by #1959
Closed

Add better types for event emitter #1898

philippkuehn opened this issue Sep 16, 2021 · 2 comments · Fixed by #1959
Assignees
Labels
Type: Feature The issue or pullrequest is a new feature

Comments

@philippkuehn
Copy link
Contributor

editor.on() and editor.off() need some better types, so it will show the correct event names and props instead of a generic string and Function.

@philippkuehn philippkuehn added Type: Feature The issue or pullrequest is a new feature v2 labels Sep 16, 2021
@HuiiBuh
Copy link
Contributor

HuiiBuh commented Sep 28, 2021

I already implemented something like this for my angular wrapper.
Do you mind if I have a go?

@philippkuehn
Copy link
Contributor Author

Happy for any PR!

@hanspagel hanspagel removed the v2 label Sep 28, 2021
HuiiBuh added a commit to HuiiBuh/tiptap that referenced this issue Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature The issue or pullrequest is a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants