@types/audioworklet 0.0.80 → 0.0.82

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/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.80 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.80.
31
+ You can read what changed in version 0.0.82 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.82.
package/index.d.ts CHANGED
@@ -284,7 +284,7 @@ interface AudioWorkletGlobalScope extends WorkletGlobalScope {
284
284
  */
285
285
  readonly sampleRate: number;
286
286
  /**
287
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
287
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
288
288
  *
289
289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
290
290
  */
@@ -303,7 +303,7 @@ declare var AudioWorkletGlobalScope: {
303
303
  */
304
304
  interface AudioWorkletProcessor {
305
305
  /**
306
- * The read-only **`port`** property of the The MessagePort object that is connecting the `AudioWorkletProcessor` and the associated `AudioWorkletNode`.
306
+ * The read-only **`port`** property of the AudioWorkletProcessor interface returns the associated MessagePort.
307
307
  *
308
308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
309
309
  */
@@ -416,13 +416,13 @@ interface DOMException extends Error {
416
416
  */
417
417
  readonly code: number;
418
418
  /**
419
- * The **`message`** read-only property of the a message or description associated with the given error name.
419
+ * The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
420
420
  *
421
421
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
422
422
  */
423
423
  readonly message: string;
424
424
  /**
425
- * The **`name`** read-only property of the one of the strings associated with an error name.
425
+ * The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
426
426
  *
427
427
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
428
428
  */
@@ -568,7 +568,7 @@ interface Event {
568
568
  */
569
569
  readonly cancelable: boolean;
570
570
  /**
571
- * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
571
+ * The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
572
572
  *
573
573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
574
574
  */
@@ -586,13 +586,13 @@ interface Event {
586
586
  */
587
587
  readonly defaultPrevented: boolean;
588
588
  /**
589
- * The **`eventPhase`** read-only property of the being evaluated.
589
+ * The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
590
590
  *
591
591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
592
592
  */
593
593
  readonly eventPhase: number;
594
594
  /**
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.
595
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` 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 EventTarget.dispatchEvent().
596
596
  *
597
597
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
598
598
  */
@@ -612,7 +612,7 @@ interface Event {
612
612
  */
613
613
  readonly srcElement: EventTarget | null;
614
614
  /**
615
- * The read-only **`target`** property of the dispatched.
615
+ * The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
616
616
  *
617
617
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
618
618
  */
@@ -643,13 +643,13 @@ interface Event {
643
643
  */
644
644
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
645
645
  /**
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.
646
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
647
647
  *
648
648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
649
649
  */
650
650
  preventDefault(): void;
651
651
  /**
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.
652
+ * The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
653
653
  *
654
654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
655
655
  */
@@ -728,31 +728,31 @@ interface GenericTransformStream {
728
728
  */
729
729
  interface MessageEvent<T = any> extends Event {
730
730
  /**
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.
731
+ * The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
732
732
  *
733
733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
734
734
  */
735
735
  readonly data: T;
736
736
  /**
737
- * The **`lastEventId`** read-only property of the unique ID for the event.
737
+ * The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
738
738
  *
739
739
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
740
740
  */
741
741
  readonly lastEventId: string;
742
742
  /**
743
- * The **`origin`** read-only property of the origin of the message emitter.
743
+ * The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
744
744
  *
745
745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
746
746
  */
747
747
  readonly origin: string;
748
748
  /**
749
- * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
749
+ * The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
750
750
  *
751
751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
752
752
  */
753
753
  readonly ports: ReadonlyArray<MessagePort>;
754
754
  /**
755
- * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.
755
+ * The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
756
756
  *
757
757
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
758
758
  */
@@ -800,7 +800,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
800
800
  */
801
801
  close(): void;
802
802
  /**
803
- * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
803
+ * The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
804
804
  *
805
805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
806
806
  */
@@ -830,7 +830,7 @@ declare var MessagePort: {
830
830
  */
831
831
  interface PromiseRejectionEvent extends Event {
832
832
  /**
833
- * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
833
+ * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
834
834
  *
835
835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
836
836
  */
@@ -930,7 +930,7 @@ interface ReadableStream<R = any> {
930
930
  */
931
931
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
932
932
  /**
933
- * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
933
+ * The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
934
934
  *
935
935
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
936
936
  */
@@ -1007,7 +1007,7 @@ declare var ReadableStreamBYOBRequest: {
1007
1007
  */
1008
1008
  interface ReadableStreamDefaultController<R = any> {
1009
1009
  /**
1010
- * The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
1010
+ * The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
1011
1011
  *
1012
1012
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
1013
1013
  */
@@ -1019,13 +1019,13 @@ interface ReadableStreamDefaultController<R = any> {
1019
1019
  */
1020
1020
  close(): void;
1021
1021
  /**
1022
- * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.
1022
+ * The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
1023
1023
  *
1024
1024
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
1025
1025
  */
1026
1026
  enqueue(chunk?: R): void;
1027
1027
  /**
1028
- * The **`error()`** method of the with the associated stream to error.
1028
+ * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
1029
1029
  *
1030
1030
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
1031
1031
  */
@@ -1303,7 +1303,7 @@ interface URL {
1303
1303
  */
1304
1304
  search: string;
1305
1305
  /**
1306
- * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
1306
+ * The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
1307
1307
  *
1308
1308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
1309
1309
  */
@@ -1315,7 +1315,7 @@ interface URL {
1315
1315
  */
1316
1316
  username: string;
1317
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.
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 URL.toString().
1319
1319
  *
1320
1320
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
1321
1321
  */
@@ -1466,7 +1466,7 @@ interface WritableStreamDefaultController {
1466
1466
  */
1467
1467
  readonly signal: AbortSignal;
1468
1468
  /**
1469
- * The **`error()`** method of the with the associated stream to error.
1469
+ * The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
1470
1470
  *
1471
1471
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
1472
1472
  */
@@ -1485,43 +1485,43 @@ declare var WritableStreamDefaultController: {
1485
1485
  */
1486
1486
  interface WritableStreamDefaultWriter<W = any> {
1487
1487
  /**
1488
- * The **`closed`** read-only property of the the stream errors or the writer's lock is released.
1488
+ * The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
1489
1489
  *
1490
1490
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
1491
1491
  */
1492
1492
  readonly closed: Promise<void>;
1493
1493
  /**
1494
- * The **`desiredSize`** read-only property of the to fill the stream's internal queue.
1494
+ * The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
1495
1495
  *
1496
1496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
1497
1497
  */
1498
1498
  readonly desiredSize: number | null;
1499
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.
1500
+ * The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise 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
1501
  *
1502
1502
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
1503
1503
  */
1504
1504
  readonly ready: Promise<void>;
1505
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.
1506
+ * The **`abort()`** method of the WritableStreamDefaultWriter 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.
1507
1507
  *
1508
1508
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
1509
1509
  */
1510
1510
  abort(reason?: any): Promise<void>;
1511
1511
  /**
1512
- * The **`close()`** method of the stream.
1512
+ * The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
1513
1513
  *
1514
1514
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
1515
1515
  */
1516
1516
  close(): Promise<void>;
1517
1517
  /**
1518
- * The **`releaseLock()`** method of the corresponding stream.
1518
+ * The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
1519
1519
  *
1520
1520
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
1521
1521
  */
1522
1522
  releaseLock(): void;
1523
1523
  /**
1524
- * The **`write()`** method of the operation.
1524
+ * The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
1525
1525
  *
1526
1526
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
1527
1527
  */
@@ -1941,7 +1941,7 @@ declare var currentTime: number;
1941
1941
  */
1942
1942
  declare var sampleRate: number;
1943
1943
  /**
1944
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
1944
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
1945
1945
  *
1946
1946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
1947
1947
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -284,7 +284,7 @@ interface AudioWorkletGlobalScope extends WorkletGlobalScope {
284
284
  */
285
285
  readonly sampleRate: number;
286
286
  /**
287
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
287
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
288
288
  *
289
289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
290
290
  */
@@ -303,7 +303,7 @@ declare var AudioWorkletGlobalScope: {
303
303
  */
304
304
  interface AudioWorkletProcessor {
305
305
  /**
306
- * The read-only **`port`** property of the The MessagePort object that is connecting the `AudioWorkletProcessor` and the associated `AudioWorkletNode`.
306
+ * The read-only **`port`** property of the AudioWorkletProcessor interface returns the associated MessagePort.
307
307
  *
308
308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
309
309
  */
@@ -416,13 +416,13 @@ interface DOMException extends Error {
416
416
  */
417
417
  readonly code: number;
418
418
  /**
419
- * The **`message`** read-only property of the a message or description associated with the given error name.
419
+ * The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
420
420
  *
421
421
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
422
422
  */
423
423
  readonly message: string;
424
424
  /**
425
- * The **`name`** read-only property of the one of the strings associated with an error name.
425
+ * The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
426
426
  *
427
427
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
428
428
  */
@@ -568,7 +568,7 @@ interface Event {
568
568
  */
569
569
  readonly cancelable: boolean;
570
570
  /**
571
- * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
571
+ * The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
572
572
  *
573
573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
574
574
  */
@@ -586,13 +586,13 @@ interface Event {
586
586
  */
587
587
  readonly defaultPrevented: boolean;
588
588
  /**
589
- * The **`eventPhase`** read-only property of the being evaluated.
589
+ * The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
590
590
  *
591
591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
592
592
  */
593
593
  readonly eventPhase: number;
594
594
  /**
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.
595
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` 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 EventTarget.dispatchEvent().
596
596
  *
597
597
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
598
598
  */
@@ -612,7 +612,7 @@ interface Event {
612
612
  */
613
613
  readonly srcElement: EventTarget | null;
614
614
  /**
615
- * The read-only **`target`** property of the dispatched.
615
+ * The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
616
616
  *
617
617
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
618
618
  */
@@ -643,13 +643,13 @@ interface Event {
643
643
  */
644
644
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
645
645
  /**
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.
646
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
647
647
  *
648
648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
649
649
  */
650
650
  preventDefault(): void;
651
651
  /**
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.
652
+ * The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
653
653
  *
654
654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
655
655
  */
@@ -728,31 +728,31 @@ interface GenericTransformStream {
728
728
  */
729
729
  interface MessageEvent<T = any> extends Event {
730
730
  /**
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.
731
+ * The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
732
732
  *
733
733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
734
734
  */
735
735
  readonly data: T;
736
736
  /**
737
- * The **`lastEventId`** read-only property of the unique ID for the event.
737
+ * The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
738
738
  *
739
739
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
740
740
  */
741
741
  readonly lastEventId: string;
742
742
  /**
743
- * The **`origin`** read-only property of the origin of the message emitter.
743
+ * The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
744
744
  *
745
745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
746
746
  */
747
747
  readonly origin: string;
748
748
  /**
749
- * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
749
+ * The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
750
750
  *
751
751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
752
752
  */
753
753
  readonly ports: ReadonlyArray<MessagePort>;
754
754
  /**
755
- * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.
755
+ * The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
756
756
  *
757
757
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
758
758
  */
@@ -800,7 +800,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
800
800
  */
801
801
  close(): void;
802
802
  /**
803
- * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
803
+ * The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
804
804
  *
805
805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
806
806
  */
@@ -830,7 +830,7 @@ declare var MessagePort: {
830
830
  */
831
831
  interface PromiseRejectionEvent extends Event {
832
832
  /**
833
- * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
833
+ * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
834
834
  *
835
835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
836
836
  */
@@ -930,7 +930,7 @@ interface ReadableStream<R = any> {
930
930
  */
931
931
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
932
932
  /**
933
- * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
933
+ * The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
934
934
  *
935
935
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
936
936
  */
@@ -1007,7 +1007,7 @@ declare var ReadableStreamBYOBRequest: {
1007
1007
  */
1008
1008
  interface ReadableStreamDefaultController<R = any> {
1009
1009
  /**
1010
- * The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
1010
+ * The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
1011
1011
  *
1012
1012
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
1013
1013
  */
@@ -1019,13 +1019,13 @@ interface ReadableStreamDefaultController<R = any> {
1019
1019
  */
1020
1020
  close(): void;
1021
1021
  /**
1022
- * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.
1022
+ * The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
1023
1023
  *
1024
1024
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
1025
1025
  */
1026
1026
  enqueue(chunk?: R): void;
1027
1027
  /**
1028
- * The **`error()`** method of the with the associated stream to error.
1028
+ * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
1029
1029
  *
1030
1030
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
1031
1031
  */
@@ -1303,7 +1303,7 @@ interface URL {
1303
1303
  */
1304
1304
  search: string;
1305
1305
  /**
1306
- * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
1306
+ * The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
1307
1307
  *
1308
1308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
1309
1309
  */
@@ -1315,7 +1315,7 @@ interface URL {
1315
1315
  */
1316
1316
  username: string;
1317
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.
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 URL.toString().
1319
1319
  *
1320
1320
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
1321
1321
  */
@@ -1466,7 +1466,7 @@ interface WritableStreamDefaultController {
1466
1466
  */
1467
1467
  readonly signal: AbortSignal;
1468
1468
  /**
1469
- * The **`error()`** method of the with the associated stream to error.
1469
+ * The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
1470
1470
  *
1471
1471
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
1472
1472
  */
@@ -1485,43 +1485,43 @@ declare var WritableStreamDefaultController: {
1485
1485
  */
1486
1486
  interface WritableStreamDefaultWriter<W = any> {
1487
1487
  /**
1488
- * The **`closed`** read-only property of the the stream errors or the writer's lock is released.
1488
+ * The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
1489
1489
  *
1490
1490
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
1491
1491
  */
1492
1492
  readonly closed: Promise<void>;
1493
1493
  /**
1494
- * The **`desiredSize`** read-only property of the to fill the stream's internal queue.
1494
+ * The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
1495
1495
  *
1496
1496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
1497
1497
  */
1498
1498
  readonly desiredSize: number | null;
1499
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.
1500
+ * The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise 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
1501
  *
1502
1502
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
1503
1503
  */
1504
1504
  readonly ready: Promise<void>;
1505
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.
1506
+ * The **`abort()`** method of the WritableStreamDefaultWriter 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.
1507
1507
  *
1508
1508
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
1509
1509
  */
1510
1510
  abort(reason?: any): Promise<void>;
1511
1511
  /**
1512
- * The **`close()`** method of the stream.
1512
+ * The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
1513
1513
  *
1514
1514
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
1515
1515
  */
1516
1516
  close(): Promise<void>;
1517
1517
  /**
1518
- * The **`releaseLock()`** method of the corresponding stream.
1518
+ * The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
1519
1519
  *
1520
1520
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
1521
1521
  */
1522
1522
  releaseLock(): void;
1523
1523
  /**
1524
- * The **`write()`** method of the operation.
1524
+ * The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
1525
1525
  *
1526
1526
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
1527
1527
  */
@@ -1941,7 +1941,7 @@ declare var currentTime: number;
1941
1941
  */
1942
1942
  declare var sampleRate: number;
1943
1943
  /**
1944
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
1944
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
1945
1945
  *
1946
1946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
1947
1947
  */
package/ts5.6/index.d.ts CHANGED
@@ -284,7 +284,7 @@ interface AudioWorkletGlobalScope extends WorkletGlobalScope {
284
284
  */
285
285
  readonly sampleRate: number;
286
286
  /**
287
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
287
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
288
288
  *
289
289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
290
290
  */
@@ -303,7 +303,7 @@ declare var AudioWorkletGlobalScope: {
303
303
  */
304
304
  interface AudioWorkletProcessor {
305
305
  /**
306
- * The read-only **`port`** property of the The MessagePort object that is connecting the `AudioWorkletProcessor` and the associated `AudioWorkletNode`.
306
+ * The read-only **`port`** property of the AudioWorkletProcessor interface returns the associated MessagePort.
307
307
  *
308
308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletProcessor/port)
309
309
  */
@@ -416,13 +416,13 @@ interface DOMException extends Error {
416
416
  */
417
417
  readonly code: number;
418
418
  /**
419
- * The **`message`** read-only property of the a message or description associated with the given error name.
419
+ * The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
420
420
  *
421
421
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
422
422
  */
423
423
  readonly message: string;
424
424
  /**
425
- * The **`name`** read-only property of the one of the strings associated with an error name.
425
+ * The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
426
426
  *
427
427
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
428
428
  */
@@ -568,7 +568,7 @@ interface Event {
568
568
  */
569
569
  readonly cancelable: boolean;
570
570
  /**
571
- * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
571
+ * The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
572
572
  *
573
573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
574
574
  */
@@ -586,13 +586,13 @@ interface Event {
586
586
  */
587
587
  readonly defaultPrevented: boolean;
588
588
  /**
589
- * The **`eventPhase`** read-only property of the being evaluated.
589
+ * The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
590
590
  *
591
591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
592
592
  */
593
593
  readonly eventPhase: number;
594
594
  /**
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.
595
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` 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 EventTarget.dispatchEvent().
596
596
  *
597
597
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
598
598
  */
@@ -612,7 +612,7 @@ interface Event {
612
612
  */
613
613
  readonly srcElement: EventTarget | null;
614
614
  /**
615
- * The read-only **`target`** property of the dispatched.
615
+ * The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
616
616
  *
617
617
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
618
618
  */
@@ -643,13 +643,13 @@ interface Event {
643
643
  */
644
644
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
645
645
  /**
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.
646
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
647
647
  *
648
648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
649
649
  */
650
650
  preventDefault(): void;
651
651
  /**
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.
652
+ * The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
653
653
  *
654
654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
655
655
  */
@@ -728,31 +728,31 @@ interface GenericTransformStream {
728
728
  */
729
729
  interface MessageEvent<T = any> extends Event {
730
730
  /**
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.
731
+ * The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
732
732
  *
733
733
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
734
734
  */
735
735
  readonly data: T;
736
736
  /**
737
- * The **`lastEventId`** read-only property of the unique ID for the event.
737
+ * The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
738
738
  *
739
739
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
740
740
  */
741
741
  readonly lastEventId: string;
742
742
  /**
743
- * The **`origin`** read-only property of the origin of the message emitter.
743
+ * The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
744
744
  *
745
745
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
746
746
  */
747
747
  readonly origin: string;
748
748
  /**
749
- * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
749
+ * The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
750
750
  *
751
751
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
752
752
  */
753
753
  readonly ports: ReadonlyArray<MessagePort>;
754
754
  /**
755
- * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.
755
+ * The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
756
756
  *
757
757
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
758
758
  */
@@ -800,7 +800,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
800
800
  */
801
801
  close(): void;
802
802
  /**
803
- * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
803
+ * The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
804
804
  *
805
805
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
806
806
  */
@@ -830,7 +830,7 @@ declare var MessagePort: {
830
830
  */
831
831
  interface PromiseRejectionEvent extends Event {
832
832
  /**
833
- * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
833
+ * The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
834
834
  *
835
835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
836
836
  */
@@ -930,7 +930,7 @@ interface ReadableStream<R = any> {
930
930
  */
931
931
  pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
932
932
  /**
933
- * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
933
+ * The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
934
934
  *
935
935
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
936
936
  */
@@ -1007,7 +1007,7 @@ declare var ReadableStreamBYOBRequest: {
1007
1007
  */
1008
1008
  interface ReadableStreamDefaultController<R = any> {
1009
1009
  /**
1010
- * The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
1010
+ * The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
1011
1011
  *
1012
1012
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
1013
1013
  */
@@ -1019,13 +1019,13 @@ interface ReadableStreamDefaultController<R = any> {
1019
1019
  */
1020
1020
  close(): void;
1021
1021
  /**
1022
- * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.
1022
+ * The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
1023
1023
  *
1024
1024
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
1025
1025
  */
1026
1026
  enqueue(chunk?: R): void;
1027
1027
  /**
1028
- * The **`error()`** method of the with the associated stream to error.
1028
+ * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
1029
1029
  *
1030
1030
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
1031
1031
  */
@@ -1303,7 +1303,7 @@ interface URL {
1303
1303
  */
1304
1304
  search: string;
1305
1305
  /**
1306
- * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod('GET')] decoded query arguments contained in the URL.
1306
+ * The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
1307
1307
  *
1308
1308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
1309
1309
  */
@@ -1315,7 +1315,7 @@ interface URL {
1315
1315
  */
1316
1316
  username: string;
1317
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.
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 URL.toString().
1319
1319
  *
1320
1320
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
1321
1321
  */
@@ -1466,7 +1466,7 @@ interface WritableStreamDefaultController {
1466
1466
  */
1467
1467
  readonly signal: AbortSignal;
1468
1468
  /**
1469
- * The **`error()`** method of the with the associated stream to error.
1469
+ * The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
1470
1470
  *
1471
1471
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
1472
1472
  */
@@ -1485,43 +1485,43 @@ declare var WritableStreamDefaultController: {
1485
1485
  */
1486
1486
  interface WritableStreamDefaultWriter<W = any> {
1487
1487
  /**
1488
- * The **`closed`** read-only property of the the stream errors or the writer's lock is released.
1488
+ * The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
1489
1489
  *
1490
1490
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
1491
1491
  */
1492
1492
  readonly closed: Promise<void>;
1493
1493
  /**
1494
- * The **`desiredSize`** read-only property of the to fill the stream's internal queue.
1494
+ * The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
1495
1495
  *
1496
1496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
1497
1497
  */
1498
1498
  readonly desiredSize: number | null;
1499
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.
1500
+ * The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise 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
1501
  *
1502
1502
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
1503
1503
  */
1504
1504
  readonly ready: Promise<void>;
1505
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.
1506
+ * The **`abort()`** method of the WritableStreamDefaultWriter 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.
1507
1507
  *
1508
1508
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
1509
1509
  */
1510
1510
  abort(reason?: any): Promise<void>;
1511
1511
  /**
1512
- * The **`close()`** method of the stream.
1512
+ * The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
1513
1513
  *
1514
1514
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
1515
1515
  */
1516
1516
  close(): Promise<void>;
1517
1517
  /**
1518
- * The **`releaseLock()`** method of the corresponding stream.
1518
+ * The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
1519
1519
  *
1520
1520
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
1521
1521
  */
1522
1522
  releaseLock(): void;
1523
1523
  /**
1524
- * The **`write()`** method of the operation.
1524
+ * The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
1525
1525
  *
1526
1526
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
1527
1527
  */
@@ -1941,7 +1941,7 @@ declare var currentTime: number;
1941
1941
  */
1942
1942
  declare var sampleRate: number;
1943
1943
  /**
1944
- * The **`registerProcessor`** method of the from AudioWorkletProcessor interface under a specified _name_.
1944
+ * The **`registerProcessor`** method of the AudioWorkletGlobalScope interface registers a class constructor derived from AudioWorkletProcessor interface under a specified _name_.
1945
1945
  *
1946
1946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor)
1947
1947
  */