Browse Source

Fix missing return value type for systemPreferences.getUserDefault

Birunthan Mohanathas 8 years ago
parent
commit
cd2e6f497f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/system-preferences.md

+ 1 - 1
docs/api/system-preferences.md

@@ -112,7 +112,7 @@ Same as `unsubscribeNotification`, but removes the subscriber from `NSNotificati
 * `type` String - Can be `string`, `boolean`, `integer`, `float`, `double`,
   `url`, `array`, `dictionary`
 
-Get the value of `key` in system preferences.
+Returns `any` - The value of `key` in system preferences.
 
 This API uses `NSUserDefaults` on macOS. Some popular `key` and `type`s are: