@types/audioworklet 0.0.75 → 0.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ts5.5/index.d.ts CHANGED
@@ -188,13 +188,13 @@ interface UnderlyingSource<R = any> {
188
188
  */
189
189
  interface AbortController {
190
190
  /**
191
- * Returns the AbortSignal object associated with this object.
191
+ * The **`signal`** read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.
192
192
  *
193
193
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
194
194
  */
195
195
  readonly signal: AbortSignal;
196
196
  /**
197
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
197
+ * The **`abort()`** method of the AbortController interface aborts an asynchronous operation before it has completed.
198
198
  *
199
199
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
200
200
  */
@@ -217,16 +217,24 @@ interface AbortSignalEventMap {
217
217
  */
218
218
  interface AbortSignal extends EventTarget {
219
219
  /**
220
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
220
+ * The **`aborted`** read-only property returns a value that indicates whether the asynchronous operations the signal is communicating with are aborted (`true`) or not (`false`).
221
221
  *
222
222
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
223
223
  */
224
224
  readonly aborted: boolean;
225
225
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
226
226
  onabort: ((this: AbortSignal, ev: Event) => any) | null;
227
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason) */
227
+ /**
228
+ * The **`reason`** read-only property returns a JavaScript value that indicates the abort reason.
229
+ *
230
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)
231
+ */
228
232
  readonly reason: any;
229
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted) */
233
+ /**
234
+ * The **`throwIfAborted()`** method throws the signal's abort AbortSignal.reason if the signal has been aborted; otherwise it does nothing.
235
+ *
236
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted)
237
+ */
230
238
  throwIfAborted(): void;
231
239
  addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
232
240
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -237,9 +245,17 @@ interface AbortSignal extends EventTarget {
237
245
  declare var AbortSignal: {
238
246
  prototype: AbortSignal;
239
247
  new(): AbortSignal;
240
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
248
+ /**
249
+ * The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).
250
+ *
251
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
252
+ */
241
253
  // abort(reason?: any): AbortSignal; - To be re-added in the future
242
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
254
+ /**
255
+ * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
256
+ *
257
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
258
+ */
243
259
  any(signals: AbortSignal[]): AbortSignal;
244
260
  };
245
261
 
@@ -249,13 +265,29 @@ declare var AbortSignal: {
249
265
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope)
250
266
  */
251
267
  interface AudioWorkletGlobalScope extends WorkletGlobalScope {
252
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentFrame) */
268
+ /**
269
+ * The read-only **`currentFrame`** property of the AudioWorkletGlobalScope interface returns an integer that represents the ever-increasing current sample-frame of the audio block being processed.
270
+ *
271
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentFrame)
272
+ */
253
273
  readonly currentFrame: number;
254
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentTime) */
274
+ /**
275
+ * The read-only **`currentTime`** property of the AudioWorkletGlobalScope interface returns a double that represents the ever-increasing context time of the audio block being processed.
276
+ *
277
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentTime)
278
+ */
255
279
  readonly currentTime: number;
256
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/sampleRate) */
280
+ /**
281
+ * The read-only **`sampleRate`** property of the AudioWorkletGlobalScope interface returns a float that represents the sample rate of the associated BaseAudioContext the worklet belongs to.
282
+ *
283
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/sampleRate)
284
+ */
257
285
  readonly sampleRate: number;
258
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor) */
286
+ /**
287
+ * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
288
+ *
289
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
290
+ */
259
291
  registerProcessor(name: string, processorCtor: AudioWorkletProcessorConstructor): void;
260
292
  }
261
293
 
@@ -270,7 +302,11 @@ declare var AudioWorkletGlobalScope: {
270
302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor)
271
303
  */
272
304
  interface AudioWorkletProcessor {
273
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port) */
305
+ /**
306
+ * The read-only **`port`** property of the The MessagePort object that is connecting the `AudioWorkletProcessor` and the associated `AudioWorkletNode`.
307
+ *
308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
309
+ */
274
310
  readonly port: MessagePort;
275
311
  }
276
312
 
@@ -289,7 +325,11 @@ interface AudioWorkletProcessorImpl extends AudioWorkletProcessor {
289
325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
290
326
  */
291
327
  interface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {
292
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark) */
328
+ /**
329
+ * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
330
+ *
331
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)
332
+ */
293
333
  readonly highWaterMark: number;
294
334
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */
295
335
  readonly size: QueuingStrategySize<ArrayBufferView>;
@@ -321,7 +361,11 @@ declare var CompressionStream: {
321
361
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
322
362
  */
323
363
  interface CountQueuingStrategy extends QueuingStrategy {
324
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark) */
364
+ /**
365
+ * The read-only **`CountQueuingStrategy.highWaterMark`** property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.
366
+ *
367
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark)
368
+ */
325
369
  readonly highWaterMark: number;
326
370
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */
327
371
  readonly size: QueuingStrategySize;
@@ -339,12 +383,13 @@ declare var CountQueuingStrategy: {
339
383
  */
340
384
  interface CustomEvent<T = any> extends Event {
341
385
  /**
342
- * Returns any custom data event was created with. Typically used for synthetic events.
386
+ * The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.
343
387
  *
344
388
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)
345
389
  */
346
390
  readonly detail: T;
347
391
  /**
392
+ * The **`CustomEvent.initCustomEvent()`** method initializes a CustomEvent object.
348
393
  * @deprecated
349
394
  *
350
395
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/initCustomEvent)
@@ -364,14 +409,23 @@ declare var CustomEvent: {
364
409
  */
365
410
  interface DOMException extends Error {
366
411
  /**
412
+ * The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or `0` if none match.
367
413
  * @deprecated
368
414
  *
369
415
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
370
416
  */
371
417
  readonly code: number;
372
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message) */
418
+ /**
419
+ * The **`message`** read-only property of the a message or description associated with the given error name.
420
+ *
421
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
422
+ */
373
423
  readonly message: string;
374
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name) */
424
+ /**
425
+ * The **`name`** read-only property of the one of the strings associated with an error name.
426
+ *
427
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
428
+ */
375
429
  readonly name: string;
376
430
  readonly INDEX_SIZE_ERR: 1;
377
431
  readonly DOMSTRING_SIZE_ERR: 2;
@@ -451,15 +505,35 @@ declare var DecompressionStream: {
451
505
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
452
506
  */
453
507
  interface ErrorEvent extends Event {
454
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
508
+ /**
509
+ * The **`colno`** read-only property of the ErrorEvent interface returns an integer containing the column number of the script file on which the error occurred.
510
+ *
511
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno)
512
+ */
455
513
  readonly colno: number;
456
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
514
+ /**
515
+ * The **`error`** read-only property of the ErrorEvent interface returns a JavaScript value, such as an Error or DOMException, representing the error associated with this event.
516
+ *
517
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error)
518
+ */
457
519
  readonly error: any;
458
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
520
+ /**
521
+ * The **`filename`** read-only property of the ErrorEvent interface returns a string containing the name of the script file in which the error occurred.
522
+ *
523
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename)
524
+ */
459
525
  readonly filename: string;
460
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
526
+ /**
527
+ * The **`lineno`** read-only property of the ErrorEvent interface returns an integer containing the line number of the script file on which the error occurred.
528
+ *
529
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno)
530
+ */
461
531
  readonly lineno: number;
462
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
532
+ /**
533
+ * The **`message`** read-only property of the ErrorEvent interface returns a string containing a human-readable error message describing the problem.
534
+ *
535
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message)
536
+ */
463
537
  readonly message: string;
464
538
  }
465
539
 
@@ -475,109 +549,113 @@ declare var ErrorEvent: {
475
549
  */
476
550
  interface Event {
477
551
  /**
478
- * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
552
+ * The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.
479
553
  *
480
554
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)
481
555
  */
482
556
  readonly bubbles: boolean;
483
557
  /**
558
+ * The **`cancelBubble`** property of the Event interface is deprecated.
484
559
  * @deprecated
485
560
  *
486
561
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
487
562
  */
488
563
  cancelBubble: boolean;
489
564
  /**
490
- * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
565
+ * The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
491
566
  *
492
567
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)
493
568
  */
494
569
  readonly cancelable: boolean;
495
570
  /**
496
- * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
571
+ * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
497
572
  *
498
573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
499
574
  */
500
575
  readonly composed: boolean;
501
576
  /**
502
- * Returns the object whose event listener's callback is currently being invoked.
577
+ * The **`currentTarget`** read-only property of the Event interface identifies the element to which the event handler has been attached.
503
578
  *
504
579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
505
580
  */
506
581
  readonly currentTarget: EventTarget | null;
507
582
  /**
508
- * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
583
+ * The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.
509
584
  *
510
585
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)
511
586
  */
512
587
  readonly defaultPrevented: boolean;
513
588
  /**
514
- * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
589
+ * The **`eventPhase`** read-only property of the being evaluated.
515
590
  *
516
591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
517
592
  */
518
593
  readonly eventPhase: number;
519
594
  /**
520
- * Returns true if event was dispatched by the user agent, and false otherwise.
595
+ * The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.
521
596
  *
522
597
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
523
598
  */
524
599
  readonly isTrusted: boolean;
525
600
  /**
601
+ * The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.
526
602
  * @deprecated
527
603
  *
528
604
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)
529
605
  */
530
606
  returnValue: boolean;
531
607
  /**
608
+ * The deprecated **`Event.srcElement`** is an alias for the Event.target property.
532
609
  * @deprecated
533
610
  *
534
611
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
535
612
  */
536
613
  readonly srcElement: EventTarget | null;
537
614
  /**
538
- * Returns the object to which event is dispatched (its target).
615
+ * The read-only **`target`** property of the dispatched.
539
616
  *
540
617
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
541
618
  */
542
619
  readonly target: EventTarget | null;
543
620
  /**
544
- * Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
621
+ * The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
545
622
  *
546
623
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)
547
624
  */
548
625
  readonly timeStamp: DOMHighResTimeStamp;
549
626
  /**
550
- * Returns the type of event, e.g. "click", "hashchange", or "submit".
627
+ * The **`type`** read-only property of the Event interface returns a string containing the event's type.
551
628
  *
552
629
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)
553
630
  */
554
631
  readonly type: string;
555
632
  /**
556
- * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.
633
+ * The **`composedPath()`** method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.
557
634
  *
558
635
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
559
636
  */
560
637
  composedPath(): EventTarget[];
561
638
  /**
639
+ * The **`Event.initEvent()`** method is used to initialize the value of an event created using Document.createEvent().
562
640
  * @deprecated
563
641
  *
564
642
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/initEvent)
565
643
  */
566
644
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
567
645
  /**
568
- * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.
646
+ * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
569
647
  *
570
648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
571
649
  */
572
650
  preventDefault(): void;
573
651
  /**
574
- * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.
652
+ * The **`stopImmediatePropagation()`** method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.
575
653
  *
576
654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
577
655
  */
578
656
  stopImmediatePropagation(): void;
579
657
  /**
580
- * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
658
+ * The **`stopPropagation()`** method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
581
659
  *
582
660
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)
583
661
  */
@@ -612,31 +690,19 @@ interface EventListenerObject {
612
690
  */
613
691
  interface EventTarget {
614
692
  /**
615
- * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
616
- *
617
- * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
618
- *
619
- * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
620
- *
621
- * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
622
- *
623
- * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
624
- *
625
- * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
626
- *
627
- * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
693
+ * The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
628
694
  *
629
695
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
630
696
  */
631
697
  addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
632
698
  /**
633
- * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
699
+ * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
634
700
  *
635
701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
636
702
  */
637
703
  dispatchEvent(event: Event): boolean;
638
704
  /**
639
- * Removes the event listener in target's event listener list with the same type, callback, and options.
705
+ * The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
640
706
  *
641
707
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
642
708
  */
@@ -662,31 +728,31 @@ interface GenericTransformStream {
662
728
  */
663
729
  interface MessageEvent<T = any> extends Event {
664
730
  /**
665
- * Returns the data of the message.
731
+ * The **`data`** read-only property of the The data sent by the message emitter; this can be any data type, depending on what originated this event.
666
732
  *
667
733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
668
734
  */
669
735
  readonly data: T;
670
736
  /**
671
- * Returns the last event ID string, for server-sent events.
737
+ * The **`lastEventId`** read-only property of the unique ID for the event.
672
738
  *
673
739
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
674
740
  */
675
741
  readonly lastEventId: string;
676
742
  /**
677
- * Returns the origin of the message, for server-sent events and cross-document messaging.
743
+ * The **`origin`** read-only property of the origin of the message emitter.
678
744
  *
679
745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
680
746
  */
681
747
  readonly origin: string;
682
748
  /**
683
- * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.
749
+ * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
684
750
  *
685
751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
686
752
  */
687
753
  readonly ports: ReadonlyArray<MessagePort>;
688
754
  /**
689
- * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.
755
+ * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.
690
756
  *
691
757
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
692
758
  */
@@ -728,22 +794,20 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
728
794
  */
729
795
  interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
730
796
  /**
731
- * Disconnects the port, so that it is no longer active.
797
+ * The **`close()`** method of the MessagePort interface disconnects the port, so it is no longer active.
732
798
  *
733
799
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/close)
734
800
  */
735
801
  close(): void;
736
802
  /**
737
- * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
738
- *
739
- * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.
803
+ * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
740
804
  *
741
805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
742
806
  */
743
807
  postMessage(message: any, transfer: Transferable[]): void;
744
808
  postMessage(message: any, options?: StructuredSerializeOptions): void;
745
809
  /**
746
- * Begins dispatching messages received on the port.
810
+ * The **`start()`** method of the MessagePort interface starts the sending of messages queued on the port.
747
811
  *
748
812
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/start)
749
813
  */
@@ -765,9 +829,17 @@ declare var MessagePort: {
765
829
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
766
830
  */
767
831
  interface PromiseRejectionEvent extends Event {
768
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
832
+ /**
833
+ * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
834
+ *
835
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
836
+ */
769
837
  readonly promise: Promise<any>;
770
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
838
+ /**
839
+ * The PromiseRejectionEvent **`reason`** read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject().
840
+ *
841
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason)
842
+ */
771
843
  readonly reason: any;
772
844
  }
773
845
 
@@ -782,15 +854,35 @@ declare var PromiseRejectionEvent: {
782
854
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
783
855
  */
784
856
  interface ReadableByteStreamController {
785
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
857
+ /**
858
+ * The **`byobRequest`** read-only property of the ReadableByteStreamController interface returns the current BYOB request, or `null` if there are no pending requests.
859
+ *
860
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest)
861
+ */
786
862
  readonly byobRequest: ReadableStreamBYOBRequest | null;
787
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize) */
863
+ /**
864
+ * The **`desiredSize`** read-only property of the ReadableByteStreamController interface returns the number of bytes required to fill the stream's internal queue to its 'desired size'.
865
+ *
866
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize)
867
+ */
788
868
  readonly desiredSize: number | null;
789
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close) */
869
+ /**
870
+ * The **`close()`** method of the ReadableByteStreamController interface closes the associated stream.
871
+ *
872
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close)
873
+ */
790
874
  close(): void;
791
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue) */
875
+ /**
876
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
877
+ *
878
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
879
+ */
792
880
  enqueue(chunk: ArrayBufferView): void;
793
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */
881
+ /**
882
+ * The **`error()`** method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error with the specified reason.
883
+ *
884
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error)
885
+ */
794
886
  error(e?: any): void;
795
887
  }
796
888
 
@@ -805,19 +897,43 @@ declare var ReadableByteStreamController: {
805
897
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
806
898
  */
807
899
  interface ReadableStream<R = any> {
808
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked) */
900
+ /**
901
+ * The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.
902
+ *
903
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked)
904
+ */
809
905
  readonly locked: boolean;
810
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel) */
906
+ /**
907
+ * The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.
908
+ *
909
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)
910
+ */
811
911
  cancel(reason?: any): Promise<void>;
812
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader) */
912
+ /**
913
+ * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.
914
+ *
915
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader)
916
+ */
813
917
  getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
814
918
  getReader(): ReadableStreamDefaultReader<R>;
815
919
  getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
816
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough) */
920
+ /**
921
+ * The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
922
+ *
923
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)
924
+ */
817
925
  pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
818
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo) */
926
+ /**
927
+ * The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
928
+ *
929
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)
930
+ */
819
931
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
820
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee) */
932
+ /**
933
+ * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
934
+ *
935
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
936
+ */
821
937
  tee(): [ReadableStream<R>, ReadableStream<R>];
822
938
  }
823
939
 
@@ -834,9 +950,17 @@ declare var ReadableStream: {
834
950
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
835
951
  */
836
952
  interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
837
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
953
+ /**
954
+ * The **`read()`** method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.
955
+ *
956
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)
957
+ */
838
958
  read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
839
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock) */
959
+ /**
960
+ * The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader's lock on the stream.
961
+ *
962
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock)
963
+ */
840
964
  releaseLock(): void;
841
965
  }
842
966
 
@@ -851,11 +975,23 @@ declare var ReadableStreamBYOBReader: {
851
975
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
852
976
  */
853
977
  interface ReadableStreamBYOBRequest {
854
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
978
+ /**
979
+ * The **`view`** getter property of the ReadableStreamBYOBRequest interface returns the current view.
980
+ *
981
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
982
+ */
855
983
  readonly view: ArrayBufferView | null;
856
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond) */
984
+ /**
985
+ * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
986
+ *
987
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)
988
+ */
857
989
  respond(bytesWritten: number): void;
858
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView) */
990
+ /**
991
+ * The **`respondWithNewView()`** method of the ReadableStreamBYOBRequest interface specifies a new view that the consumer of the associated readable byte stream should write to instead of ReadableStreamBYOBRequest.view.
992
+ *
993
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)
994
+ */
859
995
  respondWithNewView(view: ArrayBufferView): void;
860
996
  }
861
997
 
@@ -870,13 +1006,29 @@ declare var ReadableStreamBYOBRequest: {
870
1006
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
871
1007
  */
872
1008
  interface ReadableStreamDefaultController<R = any> {
873
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
1009
+ /**
1010
+ * The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
1011
+ *
1012
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
1013
+ */
874
1014
  readonly desiredSize: number | null;
875
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close) */
1015
+ /**
1016
+ * The **`close()`** method of the ReadableStreamDefaultController interface closes the associated stream.
1017
+ *
1018
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close)
1019
+ */
876
1020
  close(): void;
877
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue) */
1021
+ /**
1022
+ * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.
1023
+ *
1024
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
1025
+ */
878
1026
  enqueue(chunk?: R): void;
879
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error) */
1027
+ /**
1028
+ * The **`error()`** method of the with the associated stream to error.
1029
+ *
1030
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
1031
+ */
880
1032
  error(e?: any): void;
881
1033
  }
882
1034
 
@@ -891,9 +1043,17 @@ declare var ReadableStreamDefaultController: {
891
1043
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
892
1044
  */
893
1045
  interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
894
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
1046
+ /**
1047
+ * The **`read()`** method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream's internal queue.
1048
+ *
1049
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read)
1050
+ */
895
1051
  read(): Promise<ReadableStreamReadResult<R>>;
896
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock) */
1052
+ /**
1053
+ * The **`releaseLock()`** method of the ReadableStreamDefaultReader interface releases the reader's lock on the stream.
1054
+ *
1055
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock)
1056
+ */
897
1057
  releaseLock(): void;
898
1058
  }
899
1059
 
@@ -916,17 +1076,7 @@ interface ReadableStreamGenericReader {
916
1076
  */
917
1077
  interface TextDecoder extends TextDecoderCommon {
918
1078
  /**
919
- * Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.
920
- *
921
- * ```
922
- * var string = "", decoder = new TextDecoder(encoding), buffer;
923
- * while(buffer = next_chunk()) {
924
- * string += decoder.decode(buffer, {stream:true});
925
- * }
926
- * string += decoder.decode(); // end-of-queue
927
- * ```
928
- *
929
- * If the error mode is "fatal" and encoding's decoder returns error, throws a TypeError.
1079
+ * The **`TextDecoder.decode()`** method returns a string containing text decoded from the buffer passed as a parameter.
930
1080
  *
931
1081
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
932
1082
  */
@@ -981,13 +1131,13 @@ declare var TextDecoderStream: {
981
1131
  */
982
1132
  interface TextEncoder extends TextEncoderCommon {
983
1133
  /**
984
- * Returns the result of running UTF-8's encoder.
1134
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.
985
1135
  *
986
1136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
987
1137
  */
988
1138
  encode(input?: string): Uint8Array;
989
1139
  /**
990
- * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
1140
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.
991
1141
  *
992
1142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
993
1143
  */
@@ -1029,9 +1179,17 @@ declare var TextEncoderStream: {
1029
1179
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
1030
1180
  */
1031
1181
  interface TransformStream<I = any, O = any> {
1032
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
1182
+ /**
1183
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this `TransformStream`.
1184
+ *
1185
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1186
+ */
1033
1187
  readonly readable: ReadableStream<O>;
1034
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable) */
1188
+ /**
1189
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this `TransformStream`.
1190
+ *
1191
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1192
+ */
1035
1193
  readonly writable: WritableStream<I>;
1036
1194
  }
1037
1195
 
@@ -1046,13 +1204,29 @@ declare var TransformStream: {
1046
1204
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
1047
1205
  */
1048
1206
  interface TransformStreamDefaultController<O = any> {
1049
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
1207
+ /**
1208
+ * The **`desiredSize`** read-only property of the TransformStreamDefaultController interface returns the desired size to fill the queue of the associated ReadableStream.
1209
+ *
1210
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize)
1211
+ */
1050
1212
  readonly desiredSize: number | null;
1051
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
1213
+ /**
1214
+ * The **`enqueue()`** method of the TransformStreamDefaultController interface enqueues the given chunk in the readable side of the stream.
1215
+ *
1216
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
1217
+ */
1052
1218
  enqueue(chunk?: O): void;
1053
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error) */
1219
+ /**
1220
+ * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream.
1221
+ *
1222
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error)
1223
+ */
1054
1224
  error(reason?: any): void;
1055
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate) */
1225
+ /**
1226
+ * The **`terminate()`** method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.
1227
+ *
1228
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate)
1229
+ */
1056
1230
  terminate(): void;
1057
1231
  }
1058
1232
 
@@ -1067,41 +1241,101 @@ declare var TransformStreamDefaultController: {
1067
1241
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
1068
1242
  */
1069
1243
  interface URL {
1070
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash) */
1244
+ /**
1245
+ * The **`hash`** property of the URL interface is a string containing a `'#'` followed by the fragment identifier of the URL.
1246
+ *
1247
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash)
1248
+ */
1071
1249
  hash: string;
1072
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host) */
1250
+ /**
1251
+ * The **`host`** property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a `':'`, followed by the URL.port of the URL.
1252
+ *
1253
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host)
1254
+ */
1073
1255
  host: string;
1074
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname) */
1256
+ /**
1257
+ * The **`hostname`** property of the URL interface is a string containing either the domain name or IP address of the URL.
1258
+ *
1259
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname)
1260
+ */
1075
1261
  hostname: string;
1076
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href) */
1262
+ /**
1263
+ * The **`href`** property of the URL interface is a string containing the whole URL.
1264
+ *
1265
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href)
1266
+ */
1077
1267
  href: string;
1078
1268
  toString(): string;
1079
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin) */
1269
+ /**
1270
+ * The **`origin`** read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.
1271
+ *
1272
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin)
1273
+ */
1080
1274
  readonly origin: string;
1081
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password) */
1275
+ /**
1276
+ * The **`password`** property of the URL interface is a string containing the password component of the URL.
1277
+ *
1278
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password)
1279
+ */
1082
1280
  password: string;
1083
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname) */
1281
+ /**
1282
+ * The **`pathname`** property of the URL interface represents a location in a hierarchical structure.
1283
+ *
1284
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname)
1285
+ */
1084
1286
  pathname: string;
1085
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port) */
1287
+ /**
1288
+ * The **`port`** property of the URL interface is a string containing the port number of the URL.
1289
+ *
1290
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port)
1291
+ */
1086
1292
  port: string;
1087
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol) */
1293
+ /**
1294
+ * The **`protocol`** property of the URL interface is a string containing the protocol or scheme of the URL, including the final `':'`.
1295
+ *
1296
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol)
1297
+ */
1088
1298
  protocol: string;
1089
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search) */
1299
+ /**
1300
+ * The **`search`** property of the URL interface is a search string, also called a _query string_, that is a string containing a `'?'` followed by the parameters of the URL.
1301
+ *
1302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search)
1303
+ */
1090
1304
  search: string;
1091
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams) */
1305
+ /**
1306
+ * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
1307
+ *
1308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
1309
+ */
1092
1310
  readonly searchParams: URLSearchParams;
1093
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username) */
1311
+ /**
1312
+ * The **`username`** property of the URL interface is a string containing the username component of the URL.
1313
+ *
1314
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username)
1315
+ */
1094
1316
  username: string;
1095
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON) */
1317
+ /**
1318
+ * The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as ```js-nolint toJSON() ``` None.
1319
+ *
1320
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
1321
+ */
1096
1322
  toJSON(): string;
1097
1323
  }
1098
1324
 
1099
1325
  declare var URL: {
1100
1326
  prototype: URL;
1101
1327
  new(url: string | URL, base?: string | URL): URL;
1102
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
1328
+ /**
1329
+ * The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.
1330
+ *
1331
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)
1332
+ */
1103
1333
  canParse(url: string | URL, base?: string | URL): boolean;
1104
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
1334
+ /**
1335
+ * The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.
1336
+ *
1337
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)
1338
+ */
1105
1339
  parse(url: string | URL, base?: string | URL): URL | null;
1106
1340
  };
1107
1341
 
@@ -1111,47 +1345,54 @@ declare var URL: {
1111
1345
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
1112
1346
  */
1113
1347
  interface URLSearchParams {
1114
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
1348
+ /**
1349
+ * The **`size`** read-only property of the URLSearchParams interface indicates the total number of search parameter entries.
1350
+ *
1351
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size)
1352
+ */
1115
1353
  readonly size: number;
1116
1354
  /**
1117
- * Appends a specified key/value pair as a new search parameter.
1355
+ * The **`append()`** method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.
1118
1356
  *
1119
1357
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)
1120
1358
  */
1121
1359
  append(name: string, value: string): void;
1122
1360
  /**
1123
- * Deletes the given search parameter, and its associated value, from the list of all search parameters.
1361
+ * The **`delete()`** method of the URLSearchParams interface deletes specified parameters and their associated value(s) from the list of all search parameters.
1124
1362
  *
1125
1363
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)
1126
1364
  */
1127
1365
  delete(name: string, value?: string): void;
1128
1366
  /**
1129
- * Returns the first value associated to the given search parameter.
1367
+ * The **`get()`** method of the URLSearchParams interface returns the first value associated to the given search parameter.
1130
1368
  *
1131
1369
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)
1132
1370
  */
1133
1371
  get(name: string): string | null;
1134
1372
  /**
1135
- * Returns all the values association with a given search parameter.
1373
+ * The **`getAll()`** method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.
1136
1374
  *
1137
1375
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)
1138
1376
  */
1139
1377
  getAll(name: string): string[];
1140
1378
  /**
1141
- * Returns a Boolean indicating if such a search parameter exists.
1379
+ * The **`has()`** method of the URLSearchParams interface returns a boolean value that indicates whether the specified parameter is in the search parameters.
1142
1380
  *
1143
1381
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)
1144
1382
  */
1145
1383
  has(name: string, value?: string): boolean;
1146
1384
  /**
1147
- * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
1385
+ * The **`set()`** method of the URLSearchParams interface sets the value associated with a given search parameter to the given value.
1148
1386
  *
1149
1387
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)
1150
1388
  */
1151
1389
  set(name: string, value: string): void;
1152
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort) */
1390
+ /**
1391
+ * The **`URLSearchParams.sort()`** method sorts all key/value pairs contained in this object in place and returns `undefined`.
1392
+ *
1393
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)
1394
+ */
1153
1395
  sort(): void;
1154
- /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */
1155
1396
  toString(): string;
1156
1397
  forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
1157
1398
  }
@@ -1181,13 +1422,29 @@ declare var WorkletGlobalScope: {
1181
1422
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
1182
1423
  */
1183
1424
  interface WritableStream<W = any> {
1184
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked) */
1425
+ /**
1426
+ * The **`locked`** read-only property of the WritableStream interface returns a boolean indicating whether the `WritableStream` is locked to a writer.
1427
+ *
1428
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked)
1429
+ */
1185
1430
  readonly locked: boolean;
1186
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort) */
1431
+ /**
1432
+ * The **`abort()`** method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
1433
+ *
1434
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort)
1435
+ */
1187
1436
  abort(reason?: any): Promise<void>;
1188
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close) */
1437
+ /**
1438
+ * The **`close()`** method of the WritableStream interface closes the associated stream.
1439
+ *
1440
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close)
1441
+ */
1189
1442
  close(): Promise<void>;
1190
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter) */
1443
+ /**
1444
+ * The **`getWriter()`** method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.
1445
+ *
1446
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter)
1447
+ */
1191
1448
  getWriter(): WritableStreamDefaultWriter<W>;
1192
1449
  }
1193
1450
 
@@ -1202,9 +1459,17 @@ declare var WritableStream: {
1202
1459
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
1203
1460
  */
1204
1461
  interface WritableStreamDefaultController {
1205
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal) */
1462
+ /**
1463
+ * The read-only **`signal`** property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.
1464
+ *
1465
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal)
1466
+ */
1206
1467
  readonly signal: AbortSignal;
1207
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
1468
+ /**
1469
+ * The **`error()`** method of the with the associated stream to error.
1470
+ *
1471
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
1472
+ */
1208
1473
  error(e?: any): void;
1209
1474
  }
1210
1475
 
@@ -1219,19 +1484,47 @@ declare var WritableStreamDefaultController: {
1219
1484
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
1220
1485
  */
1221
1486
  interface WritableStreamDefaultWriter<W = any> {
1222
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed) */
1487
+ /**
1488
+ * The **`closed`** read-only property of the the stream errors or the writer's lock is released.
1489
+ *
1490
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
1491
+ */
1223
1492
  readonly closed: Promise<void>;
1224
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize) */
1493
+ /**
1494
+ * The **`desiredSize`** read-only property of the to fill the stream's internal queue.
1495
+ *
1496
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
1497
+ */
1225
1498
  readonly desiredSize: number | null;
1226
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready) */
1499
+ /**
1500
+ * The **`ready`** read-only property of the that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
1501
+ *
1502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
1503
+ */
1227
1504
  readonly ready: Promise<void>;
1228
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort) */
1505
+ /**
1506
+ * The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
1507
+ *
1508
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
1509
+ */
1229
1510
  abort(reason?: any): Promise<void>;
1230
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close) */
1511
+ /**
1512
+ * The **`close()`** method of the stream.
1513
+ *
1514
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
1515
+ */
1231
1516
  close(): Promise<void>;
1232
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock) */
1517
+ /**
1518
+ * The **`releaseLock()`** method of the corresponding stream.
1519
+ *
1520
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
1521
+ */
1233
1522
  releaseLock(): void;
1234
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write) */
1523
+ /**
1524
+ * The **`write()`** method of the operation.
1525
+ *
1526
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
1527
+ */
1235
1528
  write(chunk?: W): Promise<void>;
1236
1529
  }
1237
1530
 
@@ -1402,44 +1695,120 @@ declare namespace WebAssembly {
1402
1695
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
1403
1696
  */
1404
1697
  interface Console {
1405
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
1698
+ /**
1699
+ * The **`console.assert()`** static method writes an error message to the console if the assertion is false.
1700
+ *
1701
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static)
1702
+ */
1406
1703
  assert(condition?: boolean, ...data: any[]): void;
1407
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
1704
+ /**
1705
+ * The **`console.clear()`** static method clears the console if possible.
1706
+ *
1707
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static)
1708
+ */
1408
1709
  clear(): void;
1409
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
1710
+ /**
1711
+ * The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called.
1712
+ *
1713
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static)
1714
+ */
1410
1715
  count(label?: string): void;
1411
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
1716
+ /**
1717
+ * The **`console.countReset()`** static method resets counter used with console/count_static.
1718
+ *
1719
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static)
1720
+ */
1412
1721
  countReset(label?: string): void;
1413
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
1722
+ /**
1723
+ * The **`console.debug()`** static method outputs a message to the console at the 'debug' log level.
1724
+ *
1725
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static)
1726
+ */
1414
1727
  debug(...data: any[]): void;
1415
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
1728
+ /**
1729
+ * The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object.
1730
+ *
1731
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static)
1732
+ */
1416
1733
  dir(item?: any, options?: any): void;
1417
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
1734
+ /**
1735
+ * The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element.
1736
+ *
1737
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static)
1738
+ */
1418
1739
  dirxml(...data: any[]): void;
1419
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
1740
+ /**
1741
+ * The **`console.error()`** static method outputs a message to the console at the 'error' log level.
1742
+ *
1743
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static)
1744
+ */
1420
1745
  error(...data: any[]): void;
1421
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
1746
+ /**
1747
+ * The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by an additional level, until console/groupEnd_static is called.
1748
+ *
1749
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static)
1750
+ */
1422
1751
  group(...data: any[]): void;
1423
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
1752
+ /**
1753
+ * The **`console.groupCollapsed()`** static method creates a new inline group in the console.
1754
+ *
1755
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static)
1756
+ */
1424
1757
  groupCollapsed(...data: any[]): void;
1425
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
1758
+ /**
1759
+ * The **`console.groupEnd()`** static method exits the current inline group in the console.
1760
+ *
1761
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static)
1762
+ */
1426
1763
  groupEnd(): void;
1427
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
1764
+ /**
1765
+ * The **`console.info()`** static method outputs a message to the console at the 'info' log level.
1766
+ *
1767
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static)
1768
+ */
1428
1769
  info(...data: any[]): void;
1429
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
1770
+ /**
1771
+ * The **`console.log()`** static method outputs a message to the console.
1772
+ *
1773
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static)
1774
+ */
1430
1775
  log(...data: any[]): void;
1431
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
1776
+ /**
1777
+ * The **`console.table()`** static method displays tabular data as a table.
1778
+ *
1779
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static)
1780
+ */
1432
1781
  table(tabularData?: any, properties?: string[]): void;
1433
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
1782
+ /**
1783
+ * The **`console.time()`** static method starts a timer you can use to track how long an operation takes.
1784
+ *
1785
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static)
1786
+ */
1434
1787
  time(label?: string): void;
1435
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
1788
+ /**
1789
+ * The **`console.timeEnd()`** static method stops a timer that was previously started by calling console/time_static.
1790
+ *
1791
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static)
1792
+ */
1436
1793
  timeEnd(label?: string): void;
1437
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
1794
+ /**
1795
+ * The **`console.timeLog()`** static method logs the current value of a timer that was previously started by calling console/time_static.
1796
+ *
1797
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
1798
+ */
1438
1799
  timeLog(label?: string, ...data: any[]): void;
1439
1800
  timeStamp(label?: string): void;
1440
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
1801
+ /**
1802
+ * The **`console.trace()`** static method outputs a stack trace to the console.
1803
+ *
1804
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static)
1805
+ */
1441
1806
  trace(...data: any[]): void;
1442
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
1807
+ /**
1808
+ * The **`console.warn()`** static method outputs a warning message to the console at the 'warning' log level.
1809
+ *
1810
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static)
1811
+ */
1443
1812
  warn(...data: any[]): void;
1444
1813
  }
1445
1814
 
@@ -1493,13 +1862,29 @@ interface UnderlyingSourceStartCallback<R> {
1493
1862
  (controller: ReadableStreamController<R>): any;
1494
1863
  }
1495
1864
 
1496
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentFrame) */
1865
+ /**
1866
+ * The read-only **`currentFrame`** property of the AudioWorkletGlobalScope interface returns an integer that represents the ever-increasing current sample-frame of the audio block being processed.
1867
+ *
1868
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentFrame)
1869
+ */
1497
1870
  declare var currentFrame: number;
1498
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentTime) */
1871
+ /**
1872
+ * The read-only **`currentTime`** property of the AudioWorkletGlobalScope interface returns a double that represents the ever-increasing context time of the audio block being processed.
1873
+ *
1874
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/currentTime)
1875
+ */
1499
1876
  declare var currentTime: number;
1500
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/sampleRate) */
1877
+ /**
1878
+ * The read-only **`sampleRate`** property of the AudioWorkletGlobalScope interface returns a float that represents the sample rate of the associated BaseAudioContext the worklet belongs to.
1879
+ *
1880
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/sampleRate)
1881
+ */
1501
1882
  declare var sampleRate: number;
1502
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor) */
1883
+ /**
1884
+ * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
1885
+ *
1886
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
1887
+ */
1503
1888
  declare function registerProcessor(name: string, processorCtor: AudioWorkletProcessorConstructor): void;
1504
1889
  type AllowSharedBufferSource = ArrayBufferLike | ArrayBufferView;
1505
1890
  type BufferSource = ArrayBufferView | ArrayBuffer;