From cd2e6f497f27fb504a5998f7830cd1557c26a685 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Mon, 22 May 2017 17:19:03 +0300 Subject: [PATCH] Fix missing return value type for systemPreferences.getUserDefault --- docs/api/system-preferences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/system-preferences.md b/docs/api/system-preferences.md index 243c4a04af56..610513e6d3f9 100644 --- a/docs/api/system-preferences.md +++ b/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: