Merge pull request #19571 from yjoer/master
Add the missing return type for `PDFWorker.fromPort()`
This commit is contained in:
commit
93759f34f4
@ -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