canvasMaxAreaInBytes in DocumentInitParameters has type Boolean, preventing TypeScript users from passing the correct (numeric) value.
return this._readyCapability.promise;
  }
  /**
   * The current `workerPort`, when it exists.
   * @type {Worker}
   */
  get port() {
    return this._port;
  }
  /**
   * The current MessageHandler-instance.
   * @type {MessageHandler}
   */
  get messageHandler() {