From 9dd30474c247f1c6656518043d3333819b8c42e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Apr 2026 14:47:36 +0200 Subject: [PATCH] Fix saveDocument JSDoc return type Co-Authored-By: Claude Opus 4.6 (1M context) --- src/display/api.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/display/api.js b/src/display/api.js index b62b502e6..6de590441 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -967,8 +967,9 @@ class PDFDocumentProxy { } /** - * @returns {Promise} A promise that is resolved with a - * {Uint8Array} containing the full data of the saved document. + * @returns {Promise>} A promise that is + * resolved with a {Uint8Array} containing the + * full data of the saved document. */ saveDocument() { return this._transport.saveDocument();