From 0804c9ff8d2e6764842182cb94879713e48510dd Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Thu, 14 Aug 2025 21:23:52 -0700 Subject: [PATCH] Fix type annotation `ArrayBufferLike` annotations in `lib.d.ts` were updated in TypeScript 5.9, see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-9.html --- script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index ac6eb54..a0ad452 100644 --- a/script.js +++ b/script.js @@ -38,9 +38,9 @@ async function getPrf() { /** * Create a `CryptoKey` from a high-entropy random value using the HKDF algorithm. - * @param {ArrayBuffer|ArrayBufferView} rand A high-entropy random value. - * @param {ArrayBuffer|ArrayBufferView} salt A cryptographic salt value. - * @param {ArrayBuffer|ArrayBufferView} info Additional contextual information. + * @param {ArrayBuffer|ArrayBufferView} rand A high-entropy random value. + * @param {ArrayBuffer|ArrayBufferView} salt A cryptographic salt value. + * @param {ArrayBuffer|ArrayBufferView} info Additional contextual information. * @returns {Promise} A `CryptoKey` that can be used for `"encrypt"` or `"decrypt"`. */ async function getKey(rand, salt, info) { -- 2.47.3