mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 08:38:06 +02:00
Add the missing return type for PDFWorker.fromPort()
This commit is contained in:
parent
50c573d16d
commit
2221ccf160
1 changed files with 1 additions and 0 deletions
|
@ -2336,6 +2336,7 @@ class PDFWorker {
|
|||
|
||||
/**
|
||||
* @param {PDFWorkerParameters} params - The worker initialization parameters.
|
||||
* @returns {PDFWorker}
|
||||
*/
|
||||
static fromPort(params) {
|
||||
if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue