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

fix(writer): use WindowEventMap for cut/copy/paste events #143

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

metonym
Copy link
Collaborator

@metonym metonym commented Oct 25, 2024

Fixes #139

#92 added a workaround to map cut/copy/paste events as they previously did not exist on WindowEventMap.

Now that these are mapped in the WindowEventMap interface in TypeScript lib.dom.d.ts definitions, fix this to avoid TS errors.

@metonym metonym force-pushed the typecheck-fixtures branch from 054d513 to 1539bcb Compare October 25, 2024 18:48
Base automatically changed from typecheck-fixtures to main October 25, 2024 18:48
@metonym metonym force-pushed the fix-window-event-map branch from 523a31d to 72ee05b Compare October 25, 2024 18:53
@metonym metonym merged commit cfe753f into main Oct 25, 2024
4 checks passed
@metonym metonym deleted the fix-window-event-map branch October 25, 2024 18:55
@metonym metonym mentioned this pull request Oct 25, 2024
@metonym
Copy link
Collaborator Author

metonym commented Oct 25, 2024

Fixed in v0.20.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paste event DocumentAndElementEventHandlersEventMap no longer exists
1 participant