@types/audioworklet 0.0.77 → 0.0.78

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.77 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.77.
31
+ You can read what changed in version 0.0.78 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.78.
package/index.d.ts CHANGED
@@ -377,7 +377,7 @@ declare var CountQueuingStrategy: {
377
377
  };
378
378
 
379
379
  /**
380
- * The **`CustomEvent`** interface represents events initialized by an application for any purpose.
380
+ * The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
381
381
  *
382
382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
383
383
  */
@@ -1070,7 +1070,7 @@ interface ReadableStreamGenericReader {
1070
1070
  }
1071
1071
 
1072
1072
  /**
1073
- * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
1073
+ * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
1074
1074
  *
1075
1075
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
1076
1076
  */
@@ -1125,19 +1125,19 @@ declare var TextDecoderStream: {
1125
1125
  };
1126
1126
 
1127
1127
  /**
1128
- * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
1128
+ * The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
1129
1129
  *
1130
1130
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
1131
1131
  */
1132
1132
  interface TextEncoder extends TextEncoderCommon {
1133
1133
  /**
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.
1134
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
1135
1135
  *
1136
1136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
1137
1137
  */
1138
1138
  encode(input?: string): Uint8Array<ArrayBuffer>;
1139
1139
  /**
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.
1140
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
1141
1141
  *
1142
1142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
1143
1143
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
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
@@ -377,7 +377,7 @@ declare var CountQueuingStrategy: {
377
377
  };
378
378
 
379
379
  /**
380
- * The **`CustomEvent`** interface represents events initialized by an application for any purpose.
380
+ * The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
381
381
  *
382
382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
383
383
  */
@@ -1070,7 +1070,7 @@ interface ReadableStreamGenericReader {
1070
1070
  }
1071
1071
 
1072
1072
  /**
1073
- * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
1073
+ * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
1074
1074
  *
1075
1075
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
1076
1076
  */
@@ -1125,19 +1125,19 @@ declare var TextDecoderStream: {
1125
1125
  };
1126
1126
 
1127
1127
  /**
1128
- * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
1128
+ * The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
1129
1129
  *
1130
1130
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
1131
1131
  */
1132
1132
  interface TextEncoder extends TextEncoderCommon {
1133
1133
  /**
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.
1134
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
1135
1135
  *
1136
1136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
1137
1137
  */
1138
1138
  encode(input?: string): Uint8Array;
1139
1139
  /**
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.
1140
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
1141
1141
  *
1142
1142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
1143
1143
  */
package/ts5.6/index.d.ts CHANGED
@@ -377,7 +377,7 @@ declare var CountQueuingStrategy: {
377
377
  };
378
378
 
379
379
  /**
380
- * The **`CustomEvent`** interface represents events initialized by an application for any purpose.
380
+ * The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
381
381
  *
382
382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
383
383
  */
@@ -1070,7 +1070,7 @@ interface ReadableStreamGenericReader {
1070
1070
  }
1071
1071
 
1072
1072
  /**
1073
- * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
1073
+ * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
1074
1074
  *
1075
1075
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
1076
1076
  */
@@ -1125,19 +1125,19 @@ declare var TextDecoderStream: {
1125
1125
  };
1126
1126
 
1127
1127
  /**
1128
- * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
1128
+ * The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
1129
1129
  *
1130
1130
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
1131
1131
  */
1132
1132
  interface TextEncoder extends TextEncoderCommon {
1133
1133
  /**
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.
1134
+ * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
1135
1135
  *
1136
1136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
1137
1137
  */
1138
1138
  encode(input?: string): Uint8Array;
1139
1139
  /**
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.
1140
+ * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
1141
1141
  *
1142
1142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
1143
1143
  */