Add the missing return type for PDFWorker.fromPort()
This commit is contained in:
parent
50c573d16d
commit
2221ccf160
@ -2336,6 +2336,7 @@ class PDFWorker {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {PDFWorkerParameters} params - The worker initialization parameters.
|
* @param {PDFWorkerParameters} params - The worker initialization parameters.
|
||||||
|
* @returns {PDFWorker}
|
||||||
*/
|
*/
|
||||||
static fromPort(params) {
|
static fromPort(params) {
|
||||||
if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")) {
|
if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user