aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Connection.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/js/src/Connection.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/js/src/Connection.js b/lang/js/src/Connection.js
index f399b22b..945932e9 100644
--- a/lang/js/src/Connection.js
+++ b/lang/js/src/Connection.js
@@ -40,9 +40,10 @@ export class Connection{
* Retrieves the information about the backend.
* @param {Boolean} details (optional) If set to false, the promise will
* just return a connection status
- * @returns {Promise<Object>}
- * {String} The property 'gpgme': Version number of gpgme
- * {Array<Object>} 'info' Further information about the backends.
+ * @returns {Promise<Object>} result
+ * @returns {String} result.gpgme Version number of gpgme
+ * @returns {Array<Object>} result.info Further information about the
+ * backends.
* Example:
* "protocol": "OpenPGP",
* "fname": "/usr/bin/gpg",