aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lang/js/src/index.js')
-rw-r--r--lang/js/src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/src/index.js b/lang/js/src/index.js
index 6db28733..dc613fc7 100644
--- a/lang/js/src/index.js
+++ b/lang/js/src/index.js
@@ -27,8 +27,8 @@ import { gpgme_error } from './Errors';
import { Connection } from './Connection';
/**
- * Tests nativeMessaging once and returns a GpgME object if successful.
- * @returns {GpgME | Error}
+ * Initializes gpgme.js by testing the nativeMessaging connection once.
+ * @returns {Promise<GpgME> | GPGME_Error}
*
* @async
*/