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

Narrow type of NotificationData #7097

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

twiddler
Copy link
Contributor

@twiddler twiddler commented Nov 8, 2024

e78a9bb fixed #5640, but made the NotificationData type overly broad.

This change limits the additional keys to those that start with data-. This allows passing data- attributes and narrowing the type.

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.

showNotification doesn't support data-* attributes
1 participant