static set workerSrc(val) {
    if (typeof val !== "string") {
      throw new Error("Invalid `workerSrc` type.");
    }
    this.#src = val;
  }
@param {string} workerSrc - A string containing the path and filename of
  the worker file.

  NOTE: The `workerSrc` option should always be set, in order to prevent
        any issues when using the PDF.js library.