mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-18 03:04:07 +02:00
Merge pull request #21107 from supermar1010/fix-savedocument-jsdoc
Fix saveDocument JSDoc return type
This commit is contained in:
commit
9159afd633
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user