Browse Source

docs: systemPreferences.subscribeWorkspaceNotification return type (#28588)

Samuel Maddock 4 years ago
parent
commit
ef4954fa1f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/api/system-preferences.md

+ 2 - 0
docs/api/system-preferences.md

@@ -130,6 +130,8 @@ This is necessary for events such as `NSUserDefaultsDidChangeNotification`.
   * `userInfo` Record<String, unknown>
   * `object` String
 
+Returns `Number` - The ID of this subscription
+
 Same as `subscribeNotification`, but uses `NSWorkspace.sharedWorkspace.notificationCenter`.
 This is necessary for events such as `NSWorkspaceDidActivateApplicationNotification`.