docs: systemPreferences.subscribeWorkspaceNotification return type (#28588)
This commit is contained in:
parent
f755c521eb
commit
ef4954fa1f
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ This is necessary for events such as `NSUserDefaultsDidChangeNotification`.
|
||||||
* `userInfo` Record<String, unknown>
|
* `userInfo` Record<String, unknown>
|
||||||
* `object` String
|
* `object` String
|
||||||
|
|
||||||
|
Returns `Number` - The ID of this subscription
|
||||||
|
|
||||||
Same as `subscribeNotification`, but uses `NSWorkspace.sharedWorkspace.notificationCenter`.
|
Same as `subscribeNotification`, but uses `NSWorkspace.sharedWorkspace.notificationCenter`.
|
||||||
This is necessary for events such as `NSWorkspaceDidActivateApplicationNotification`.
|
This is necessary for events such as `NSWorkspaceDidActivateApplicationNotification`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue