Merge pull request #21107 from supermar1010/fix-savedocument-jsdoc

Fix saveDocument JSDoc return type
This commit is contained in:
calixteman 2026-04-15 22:14:39 +02:00 committed by GitHub
commit 9159afd633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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