aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Keyring.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-09-05 16:46:28 +0000
committerMaximilian Krambach <[email protected]>2018-09-05 16:46:28 +0000
commit1c618166fcd296b4e95f3a6ea9c415d3dca5ce0a (patch)
tree4ed33a570c4b999c656e66bb98c6ad43c9673223 /lang/js/src/Keyring.js
parentestreams symbols for python bindings (diff)
downloadgpgme-1c618166fcd296b4e95f3a6ea9c415d3dca5ce0a.tar.gz
gpgme-1c618166fcd296b4e95f3a6ea9c415d3dca5ce0a.zip
js: documentation cleanup
--
Diffstat (limited to 'lang/js/src/Keyring.js')
-rw-r--r--lang/js/src/Keyring.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index 0c64f337..e223284b 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -45,7 +45,7 @@ export class GPGME_Keyring {
* information can be updated with the {@link Key.refresh} method.
* @param {Boolean} options.search (optional) retrieve Keys from external
* servers with the method(s) defined in gnupg (e.g. WKD/HKP lookup)
- * @returns {Promise<Array<GPGME_Key>>}
+ * @returns {Promise<GPGME_Key[]>}
* @static
* @async
*/
@@ -138,7 +138,7 @@ export class GPGME_Keyring {
* search for
* @param {Boolean} options.with_secret_fpr also return a list of
* fingerprints for the keys that have a secret key available
- * @returns {Promise<exportResult|GPGME_Error>} Object containing the
+ * @returns {Promise<exportResult>} Object containing the
* armored Key(s) and additional information.
* @static
* @async
@@ -175,7 +175,7 @@ export class GPGME_Keyring {
* It looks up the gpg configuration if set, or the first key that
* contains a secret key.
*
- * @returns {Promise<GPGME_Key|GPGME_Error>}
+ * @returns {Promise<GPGME_Key>}
* @async
* @static
*/
@@ -360,10 +360,10 @@ export class GPGME_Keyring {
}
/**
- * Convenience function for deleting a Key. See {@link Key.delete} for
+ * Convenience function for deleting a Key. See {@link Key#delete} for
* further information about the return values.
* @param {String} fingerprint
- * @returns {Promise<Boolean|GPGME_Error>}
+ * @returns {Promise<Boolean>}
* @async
* @static
*/