Fix saveDocument JSDoc return type

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mario 2026-04-15 14:47:36 +02:00
parent 59908ccad3
commit 9dd30474c2

View File

@ -967,8 +967,9 @@ class PDFDocumentProxy {
} }
/** /**
* @returns {Promise<Uint8Array>} A promise that is resolved with a * @returns {Promise<Uint8Array<ArrayBuffer>>} A promise that is
* {Uint8Array} containing the full data of the saved document. * resolved with a {Uint8Array<ArrayBuffer>} containing the
* full data of the saved document.
*/ */
saveDocument() { saveDocument() {
return this._transport.saveDocument(); return this._transport.saveDocument();