summaryrefslogtreecommitdiff
path: root/ext/crypto
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-09-02 18:28:12 -0400
committerGitHub <noreply@github.com>2021-09-02 18:28:12 -0400
commit987716798fb3bddc9abc7e12c25a043447be5280 (patch)
treeacb14305d38d8ae78877e59e6faa66a66506eed3 /ext/crypto
parent1bf7b90ca8ad8e2bf62e455c24d5498c9ee74a46 (diff)
feat(fmt): add basic JS doc formatting (#11902)
Diffstat (limited to 'ext/crypto')
-rw-r--r--ext/crypto/00_crypto.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index 354654077..a95c0be1b 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -944,10 +944,10 @@
}
/**
- * @param {string} format
- * @param {CryptoKey} key
- * @returns {Promise<any>}
- */
+ * @param {string} format
+ * @param {CryptoKey} key
+ * @returns {Promise<any>}
+ */
// deno-lint-ignore require-await
async exportKey(format, key) {
webidl.assertBranded(this, SubtleCrypto);
@@ -1033,11 +1033,11 @@
}
/**
- * @param {AlgorithmIdentifier} algorithm
- * @param {CryptoKey} baseKey
- * @param {number} length
- * @returns {Promise<ArrayBuffer>}
- */
+ * @param {AlgorithmIdentifier} algorithm
+ * @param {CryptoKey} baseKey
+ * @param {number} length
+ * @returns {Promise<ArrayBuffer>}
+ */
async deriveBits(algorithm, baseKey, length) {
webidl.assertBranded(this, SubtleCrypto);
const prefix = "Failed to execute 'deriveBits' on 'SubtleCrypto'";