From 703f514c1825edfd38b91b5a0ceaedbbe7376606 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 24 May 2026 17:30:25 -0700 Subject: [PATCH] Use standard ES types `BufferSource` is from web IDL (`lib.dom.d.ts`), which is not always imported. `ArrayBuffer` and `ArrayBufferView` are from the ES spec (`lib.es*.d.ts`) so they should always be available. --- test/getPrf.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/getPrf.test.js b/test/getPrf.test.js index a8916e3..6d53926 100644 --- a/test/getPrf.test.js +++ b/test/getPrf.test.js @@ -22,7 +22,7 @@ function filterNullValues(obj) { * @typedef {Object} MakePostRequestOptions * @property {Record} [headers] Headers to set on the request. Set a property to * `null` to *delete* that header. - * @property {BufferSource|null} [prf] `prf` buffer to pass on the request body. + * @property {ArrayBuffer|ArrayBufferView|null} [prf] `prf` buffer to pass on the request body. */ /** -- 2.47.3