Fix missing return value type for systemPreferences.getUserDefault

This commit is contained in:
Birunthan Mohanathas 2017-05-22 17:19:03 +03:00
parent a8e4a0e765
commit cd2e6f497f

View file

@ -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: