@types/audioworklet 0.0.74 → 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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./iterable.d.ts" />
2
+ /// <reference path="./asynciterable.d.ts" />
2
3
 
3
4
  /////////////////////////////
4
5
  /// AudioWorklet APIs
@@ -187,13 +188,13 @@ interface UnderlyingSource<R = any> {
187
188
  */
188
189
  interface AbortController {
189
190
  /**
190
- * 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.
191
192
  *
192
193
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
193
194
  */
194
195
  readonly signal: AbortSignal;
195
196
  /**
196
- * 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.
197
198
  *
198
199
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
199
200
  */
@@ -216,16 +217,24 @@ interface AbortSignalEventMap {
216
217
  */
217
218
  interface AbortSignal extends EventTarget {
218
219
  /**
219
- * 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`).
220
221
  *
221
222
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
222
223
  */
223
224
  readonly aborted: boolean;
224
225
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
225
226
  onabort: ((this: AbortSignal, ev: Event) => any) | null;
226
- /** [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
+ */
227
232
  readonly reason: any;
228
- /** [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
+ */
229
238
  throwIfAborted(): void;
230
239
  addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
231
240
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -236,9 +245,17 @@ interface AbortSignal extends EventTarget {
236
245
  declare var AbortSignal: {
237
246
  prototype: AbortSignal;
238
247
  new(): AbortSignal;
239
- /** [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
+ */
240
253
  // abort(reason?: any): AbortSignal; - To be re-added in the future
241
- /** [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
+ */
242
259
  any(signals: AbortSignal[]): AbortSignal;
243
260
  };
244
261
 
@@ -248,13 +265,29 @@ declare var AbortSignal: {
248
265
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope)
249
266
  */
250
267
  interface AudioWorkletGlobalScope extends WorkletGlobalScope {
251
- /** [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
+ */
252
273
  readonly currentFrame: number;
253
- /** [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
+ */
254
279
  readonly currentTime: number;
255
- /** [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
+ */
256
285
  readonly sampleRate: number;
257
- /** [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
+ */
258
291
  registerProcessor(name: string, processorCtor: AudioWorkletProcessorConstructor): void;
259
292
  }
260
293
 
@@ -269,7 +302,11 @@ declare var AudioWorkletGlobalScope: {
269
302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor)
270
303
  */
271
304
  interface AudioWorkletProcessor {
272
- /** [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
+ */
273
310
  readonly port: MessagePort;
274
311
  }
275
312
 
@@ -288,7 +325,11 @@ interface AudioWorkletProcessorImpl extends AudioWorkletProcessor {
288
325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
289
326
  */
290
327
  interface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {
291
- /** [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
+ */
292
333
  readonly highWaterMark: number;
293
334
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */
294
335
  readonly size: QueuingStrategySize<ArrayBufferView>;
@@ -320,7 +361,11 @@ declare var CompressionStream: {
320
361
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
321
362
  */
322
363
  interface CountQueuingStrategy extends QueuingStrategy {
323
- /** [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
+ */
324
369
  readonly highWaterMark: number;
325
370
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */
326
371
  readonly size: QueuingStrategySize;
@@ -338,12 +383,13 @@ declare var CountQueuingStrategy: {
338
383
  */
339
384
  interface CustomEvent<T = any> extends Event {
340
385
  /**
341
- * 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.
342
387
  *
343
388
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)
344
389
  */
345
390
  readonly detail: T;
346
391
  /**
392
+ * The **`CustomEvent.initCustomEvent()`** method initializes a CustomEvent object.
347
393
  * @deprecated
348
394
  *
349
395
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/initCustomEvent)
@@ -363,14 +409,23 @@ declare var CustomEvent: {
363
409
  */
364
410
  interface DOMException extends Error {
365
411
  /**
412
+ * The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or `0` if none match.
366
413
  * @deprecated
367
414
  *
368
415
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
369
416
  */
370
417
  readonly code: number;
371
- /** [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
+ */
372
423
  readonly message: string;
373
- /** [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
+ */
374
429
  readonly name: string;
375
430
  readonly INDEX_SIZE_ERR: 1;
376
431
  readonly DOMSTRING_SIZE_ERR: 2;
@@ -450,15 +505,35 @@ declare var DecompressionStream: {
450
505
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
451
506
  */
452
507
  interface ErrorEvent extends Event {
453
- /** [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
+ */
454
513
  readonly colno: number;
455
- /** [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
+ */
456
519
  readonly error: any;
457
- /** [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
+ */
458
525
  readonly filename: string;
459
- /** [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
+ */
460
531
  readonly lineno: number;
461
- /** [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
+ */
462
537
  readonly message: string;
463
538
  }
464
539
 
@@ -474,109 +549,113 @@ declare var ErrorEvent: {
474
549
  */
475
550
  interface Event {
476
551
  /**
477
- * 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.
478
553
  *
479
554
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)
480
555
  */
481
556
  readonly bubbles: boolean;
482
557
  /**
558
+ * The **`cancelBubble`** property of the Event interface is deprecated.
483
559
  * @deprecated
484
560
  *
485
561
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)
486
562
  */
487
563
  cancelBubble: boolean;
488
564
  /**
489
- * 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.
490
566
  *
491
567
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)
492
568
  */
493
569
  readonly cancelable: boolean;
494
570
  /**
495
- * 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.
496
572
  *
497
573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
498
574
  */
499
575
  readonly composed: boolean;
500
576
  /**
501
- * 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.
502
578
  *
503
579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
504
580
  */
505
581
  readonly currentTarget: EventTarget | null;
506
582
  /**
507
- * 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.
508
584
  *
509
585
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)
510
586
  */
511
587
  readonly defaultPrevented: boolean;
512
588
  /**
513
- * 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.
514
590
  *
515
591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
516
592
  */
517
593
  readonly eventPhase: number;
518
594
  /**
519
- * 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.
520
596
  *
521
597
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
522
598
  */
523
599
  readonly isTrusted: boolean;
524
600
  /**
601
+ * The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.
525
602
  * @deprecated
526
603
  *
527
604
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)
528
605
  */
529
606
  returnValue: boolean;
530
607
  /**
608
+ * The deprecated **`Event.srcElement`** is an alias for the Event.target property.
531
609
  * @deprecated
532
610
  *
533
611
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
534
612
  */
535
613
  readonly srcElement: EventTarget | null;
536
614
  /**
537
- * Returns the object to which event is dispatched (its target).
615
+ * The read-only **`target`** property of the dispatched.
538
616
  *
539
617
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
540
618
  */
541
619
  readonly target: EventTarget | null;
542
620
  /**
543
- * 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.
544
622
  *
545
623
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)
546
624
  */
547
625
  readonly timeStamp: DOMHighResTimeStamp;
548
626
  /**
549
- * 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.
550
628
  *
551
629
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)
552
630
  */
553
631
  readonly type: string;
554
632
  /**
555
- * 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.
556
634
  *
557
635
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)
558
636
  */
559
637
  composedPath(): EventTarget[];
560
638
  /**
639
+ * The **`Event.initEvent()`** method is used to initialize the value of an event created using Document.createEvent().
561
640
  * @deprecated
562
641
  *
563
642
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/initEvent)
564
643
  */
565
644
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
566
645
  /**
567
- * 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.
568
647
  *
569
648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
570
649
  */
571
650
  preventDefault(): void;
572
651
  /**
573
- * 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.
574
653
  *
575
654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
576
655
  */
577
656
  stopImmediatePropagation(): void;
578
657
  /**
579
- * 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.
580
659
  *
581
660
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)
582
661
  */
@@ -611,31 +690,19 @@ interface EventListenerObject {
611
690
  */
612
691
  interface EventTarget {
613
692
  /**
614
- * 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.
615
- *
616
- * 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.
617
- *
618
- * 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.
619
- *
620
- * 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.
621
- *
622
- * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
623
- *
624
- * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
625
- *
626
- * 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.
627
694
  *
628
695
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
629
696
  */
630
697
  addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
631
698
  /**
632
- * 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.
633
700
  *
634
701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
635
702
  */
636
703
  dispatchEvent(event: Event): boolean;
637
704
  /**
638
- * 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.
639
706
  *
640
707
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
641
708
  */
@@ -661,31 +728,31 @@ interface GenericTransformStream {
661
728
  */
662
729
  interface MessageEvent<T = any> extends Event {
663
730
  /**
664
- * 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.
665
732
  *
666
733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
667
734
  */
668
735
  readonly data: T;
669
736
  /**
670
- * Returns the last event ID string, for server-sent events.
737
+ * The **`lastEventId`** read-only property of the unique ID for the event.
671
738
  *
672
739
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
673
740
  */
674
741
  readonly lastEventId: string;
675
742
  /**
676
- * 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.
677
744
  *
678
745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
679
746
  */
680
747
  readonly origin: string;
681
748
  /**
682
- * 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.
683
750
  *
684
751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
685
752
  */
686
753
  readonly ports: ReadonlyArray<MessagePort>;
687
754
  /**
688
- * 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.
689
756
  *
690
757
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
691
758
  */
@@ -727,22 +794,20 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
727
794
  */
728
795
  interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
729
796
  /**
730
- * 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.
731
798
  *
732
799
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/close)
733
800
  */
734
801
  close(): void;
735
802
  /**
736
- * 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.
737
- *
738
- * 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.
739
804
  *
740
805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
741
806
  */
742
807
  postMessage(message: any, transfer: Transferable[]): void;
743
808
  postMessage(message: any, options?: StructuredSerializeOptions): void;
744
809
  /**
745
- * Begins dispatching messages received on the port.
810
+ * The **`start()`** method of the MessagePort interface starts the sending of messages queued on the port.
746
811
  *
747
812
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/start)
748
813
  */
@@ -764,9 +829,17 @@ declare var MessagePort: {
764
829
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
765
830
  */
766
831
  interface PromiseRejectionEvent extends Event {
767
- /** [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
+ */
768
837
  readonly promise: Promise<any>;
769
- /** [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
+ */
770
843
  readonly reason: any;
771
844
  }
772
845
 
@@ -781,15 +854,35 @@ declare var PromiseRejectionEvent: {
781
854
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
782
855
  */
783
856
  interface ReadableByteStreamController {
784
- /** [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
+ */
785
862
  readonly byobRequest: ReadableStreamBYOBRequest | null;
786
- /** [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
+ */
787
868
  readonly desiredSize: number | null;
788
- /** [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
+ */
789
874
  close(): void;
790
- /** [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
+ */
791
880
  enqueue(chunk: ArrayBufferView<ArrayBuffer>): void;
792
- /** [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
+ */
793
886
  error(e?: any): void;
794
887
  }
795
888
 
@@ -804,19 +897,43 @@ declare var ReadableByteStreamController: {
804
897
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
805
898
  */
806
899
  interface ReadableStream<R = any> {
807
- /** [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
+ */
808
905
  readonly locked: boolean;
809
- /** [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
+ */
810
911
  cancel(reason?: any): Promise<void>;
811
- /** [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
+ */
812
917
  getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
813
918
  getReader(): ReadableStreamDefaultReader<R>;
814
919
  getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
815
- /** [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
+ */
816
925
  pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
817
- /** [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
+ */
818
931
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
819
- /** [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
+ */
820
937
  tee(): [ReadableStream<R>, ReadableStream<R>];
821
938
  }
822
939
 
@@ -833,9 +950,17 @@ declare var ReadableStream: {
833
950
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
834
951
  */
835
952
  interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
836
- /** [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
+ */
837
958
  read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
838
- /** [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
+ */
839
964
  releaseLock(): void;
840
965
  }
841
966
 
@@ -850,11 +975,23 @@ declare var ReadableStreamBYOBReader: {
850
975
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
851
976
  */
852
977
  interface ReadableStreamBYOBRequest {
853
- /** [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
+ */
854
983
  readonly view: ArrayBufferView<ArrayBuffer> | null;
855
- /** [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
+ */
856
989
  respond(bytesWritten: number): void;
857
- /** [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
+ */
858
995
  respondWithNewView(view: ArrayBufferView<ArrayBuffer>): void;
859
996
  }
860
997
 
@@ -869,13 +1006,29 @@ declare var ReadableStreamBYOBRequest: {
869
1006
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
870
1007
  */
871
1008
  interface ReadableStreamDefaultController<R = any> {
872
- /** [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
+ */
873
1014
  readonly desiredSize: number | null;
874
- /** [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
+ */
875
1020
  close(): void;
876
- /** [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
+ */
877
1026
  enqueue(chunk?: R): void;
878
- /** [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
+ */
879
1032
  error(e?: any): void;
880
1033
  }
881
1034
 
@@ -890,9 +1043,17 @@ declare var ReadableStreamDefaultController: {
890
1043
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
891
1044
  */
892
1045
  interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
893
- /** [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
+ */
894
1051
  read(): Promise<ReadableStreamReadResult<R>>;
895
- /** [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
+ */
896
1057
  releaseLock(): void;
897
1058
  }
898
1059
 
@@ -915,17 +1076,7 @@ interface ReadableStreamGenericReader {
915
1076
  */
916
1077
  interface TextDecoder extends TextDecoderCommon {
917
1078
  /**
918
- * 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.
919
- *
920
- * ```
921
- * var string = "", decoder = new TextDecoder(encoding), buffer;
922
- * while(buffer = next_chunk()) {
923
- * string += decoder.decode(buffer, {stream:true});
924
- * }
925
- * string += decoder.decode(); // end-of-queue
926
- * ```
927
- *
928
- * 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.
929
1080
  *
930
1081
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
931
1082
  */
@@ -980,13 +1131,13 @@ declare var TextDecoderStream: {
980
1131
  */
981
1132
  interface TextEncoder extends TextEncoderCommon {
982
1133
  /**
983
- * 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.
984
1135
  *
985
1136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
986
1137
  */
987
1138
  encode(input?: string): Uint8Array<ArrayBuffer>;
988
1139
  /**
989
- * 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.
990
1141
  *
991
1142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
992
1143
  */
@@ -1028,9 +1179,17 @@ declare var TextEncoderStream: {
1028
1179
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
1029
1180
  */
1030
1181
  interface TransformStream<I = any, O = any> {
1031
- /** [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
+ */
1032
1187
  readonly readable: ReadableStream<O>;
1033
- /** [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
+ */
1034
1193
  readonly writable: WritableStream<I>;
1035
1194
  }
1036
1195
 
@@ -1045,13 +1204,29 @@ declare var TransformStream: {
1045
1204
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
1046
1205
  */
1047
1206
  interface TransformStreamDefaultController<O = any> {
1048
- /** [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
+ */
1049
1212
  readonly desiredSize: number | null;
1050
- /** [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
+ */
1051
1218
  enqueue(chunk?: O): void;
1052
- /** [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
+ */
1053
1224
  error(reason?: any): void;
1054
- /** [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
+ */
1055
1230
  terminate(): void;
1056
1231
  }
1057
1232
 
@@ -1066,41 +1241,101 @@ declare var TransformStreamDefaultController: {
1066
1241
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
1067
1242
  */
1068
1243
  interface URL {
1069
- /** [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
+ */
1070
1249
  hash: string;
1071
- /** [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
+ */
1072
1255
  host: string;
1073
- /** [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
+ */
1074
1261
  hostname: string;
1075
- /** [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
+ */
1076
1267
  href: string;
1077
1268
  toString(): string;
1078
- /** [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
+ */
1079
1274
  readonly origin: string;
1080
- /** [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
+ */
1081
1280
  password: string;
1082
- /** [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
+ */
1083
1286
  pathname: string;
1084
- /** [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
+ */
1085
1292
  port: string;
1086
- /** [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
+ */
1087
1298
  protocol: string;
1088
- /** [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
+ */
1089
1304
  search: string;
1090
- /** [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
+ */
1091
1310
  readonly searchParams: URLSearchParams;
1092
- /** [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
+ */
1093
1316
  username: string;
1094
- /** [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
+ */
1095
1322
  toJSON(): string;
1096
1323
  }
1097
1324
 
1098
1325
  declare var URL: {
1099
1326
  prototype: URL;
1100
1327
  new(url: string | URL, base?: string | URL): URL;
1101
- /** [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
+ */
1102
1333
  canParse(url: string | URL, base?: string | URL): boolean;
1103
- /** [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
+ */
1104
1339
  parse(url: string | URL, base?: string | URL): URL | null;
1105
1340
  };
1106
1341
 
@@ -1110,47 +1345,54 @@ declare var URL: {
1110
1345
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
1111
1346
  */
1112
1347
  interface URLSearchParams {
1113
- /** [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
+ */
1114
1353
  readonly size: number;
1115
1354
  /**
1116
- * 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.
1117
1356
  *
1118
1357
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)
1119
1358
  */
1120
1359
  append(name: string, value: string): void;
1121
1360
  /**
1122
- * 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.
1123
1362
  *
1124
1363
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)
1125
1364
  */
1126
1365
  delete(name: string, value?: string): void;
1127
1366
  /**
1128
- * 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.
1129
1368
  *
1130
1369
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)
1131
1370
  */
1132
1371
  get(name: string): string | null;
1133
1372
  /**
1134
- * 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.
1135
1374
  *
1136
1375
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)
1137
1376
  */
1138
1377
  getAll(name: string): string[];
1139
1378
  /**
1140
- * 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.
1141
1380
  *
1142
1381
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)
1143
1382
  */
1144
1383
  has(name: string, value?: string): boolean;
1145
1384
  /**
1146
- * 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.
1147
1386
  *
1148
1387
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)
1149
1388
  */
1150
1389
  set(name: string, value: string): void;
1151
- /** [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
+ */
1152
1395
  sort(): void;
1153
- /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */
1154
1396
  toString(): string;
1155
1397
  forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
1156
1398
  }
@@ -1180,13 +1422,29 @@ declare var WorkletGlobalScope: {
1180
1422
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
1181
1423
  */
1182
1424
  interface WritableStream<W = any> {
1183
- /** [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
+ */
1184
1430
  readonly locked: boolean;
1185
- /** [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
+ */
1186
1436
  abort(reason?: any): Promise<void>;
1187
- /** [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
+ */
1188
1442
  close(): Promise<void>;
1189
- /** [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
+ */
1190
1448
  getWriter(): WritableStreamDefaultWriter<W>;
1191
1449
  }
1192
1450
 
@@ -1201,9 +1459,17 @@ declare var WritableStream: {
1201
1459
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
1202
1460
  */
1203
1461
  interface WritableStreamDefaultController {
1204
- /** [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
+ */
1205
1467
  readonly signal: AbortSignal;
1206
- /** [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
+ */
1207
1473
  error(e?: any): void;
1208
1474
  }
1209
1475
 
@@ -1218,19 +1484,47 @@ declare var WritableStreamDefaultController: {
1218
1484
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
1219
1485
  */
1220
1486
  interface WritableStreamDefaultWriter<W = any> {
1221
- /** [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
+ */
1222
1492
  readonly closed: Promise<void>;
1223
- /** [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
+ */
1224
1498
  readonly desiredSize: number | null;
1225
- /** [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
+ */
1226
1504
  readonly ready: Promise<void>;
1227
- /** [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
+ */
1228
1510
  abort(reason?: any): Promise<void>;
1229
- /** [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
+ */
1230
1516
  close(): Promise<void>;
1231
- /** [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
+ */
1232
1522
  releaseLock(): void;
1233
- /** [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
+ */
1234
1528
  write(chunk?: W): Promise<void>;
1235
1529
  }
1236
1530
 
@@ -1401,44 +1695,120 @@ declare namespace WebAssembly {
1401
1695
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
1402
1696
  */
1403
1697
  interface Console {
1404
- /** [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
+ */
1405
1703
  assert(condition?: boolean, ...data: any[]): void;
1406
- /** [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
+ */
1407
1709
  clear(): void;
1408
- /** [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
+ */
1409
1715
  count(label?: string): void;
1410
- /** [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
+ */
1411
1721
  countReset(label?: string): void;
1412
- /** [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
+ */
1413
1727
  debug(...data: any[]): void;
1414
- /** [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
+ */
1415
1733
  dir(item?: any, options?: any): void;
1416
- /** [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
+ */
1417
1739
  dirxml(...data: any[]): void;
1418
- /** [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
+ */
1419
1745
  error(...data: any[]): void;
1420
- /** [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
+ */
1421
1751
  group(...data: any[]): void;
1422
- /** [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
+ */
1423
1757
  groupCollapsed(...data: any[]): void;
1424
- /** [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
+ */
1425
1763
  groupEnd(): void;
1426
- /** [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
+ */
1427
1769
  info(...data: any[]): void;
1428
- /** [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
+ */
1429
1775
  log(...data: any[]): void;
1430
- /** [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
+ */
1431
1781
  table(tabularData?: any, properties?: string[]): void;
1432
- /** [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
+ */
1433
1787
  time(label?: string): void;
1434
- /** [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
+ */
1435
1793
  timeEnd(label?: string): void;
1436
- /** [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
+ */
1437
1799
  timeLog(label?: string, ...data: any[]): void;
1438
1800
  timeStamp(label?: string): void;
1439
- /** [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
+ */
1440
1806
  trace(...data: any[]): void;
1441
- /** [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
+ */
1442
1812
  warn(...data: any[]): void;
1443
1813
  }
1444
1814
 
@@ -1492,13 +1862,29 @@ interface UnderlyingSourceStartCallback<R> {
1492
1862
  (controller: ReadableStreamController<R>): any;
1493
1863
  }
1494
1864
 
1495
- /** [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
+ */
1496
1870
  declare var currentFrame: number;
1497
- /** [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
+ */
1498
1876
  declare var currentTime: number;
1499
- /** [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
+ */
1500
1882
  declare var sampleRate: number;
1501
- /** [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
+ */
1502
1888
  declare function registerProcessor(name: string, processorCtor: AudioWorkletProcessorConstructor): void;
1503
1889
  type AllowSharedBufferSource = ArrayBufferLike | ArrayBufferView<ArrayBufferLike>;
1504
1890
  type BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;