mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Fix missing return value type for systemPreferences.getUserDefault
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user