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
feat: allow null
when subscribing notification
#33641
Conversation
null
when subscribing notification
1f44caf
to
65b4d80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API LGTM, but have code / docs comments.
This comment was marked as spam.
This comment was marked as spam.
API LGTM |
1 similar comment
API LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API LGTM
Release Notes Persisted
|
I was unable to backport this PR to "17-x-y" cleanly; |
I have automatically backported this PR to "19-x-y", please check out #33770 |
I have automatically backported this PR to "18-x-y", please check out #33771 |
* feat: allow null when subscribing notification * docs: document null event
* feat: allow null when subscribing notification * docs: document null event
Description of Change
Closes #33632.
Allows for
systemPreferences.subscribe{Local|Workspace}Notification
methods to takenull
for their event parameters.Per documentation:
cc @knev
Checklist
npm test
passesRelease Notes
Notes: Enabled
systemPreferences.subscribe{Local|Workspace}Notification
to take anull
value for theevent
parameter.