@types/sharedworker 0.0.179 → 0.0.180

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.179 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.179.
31
+ You can read what changed in version 0.0.180 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.180.
package/index.d.ts CHANGED
@@ -5982,7 +5982,7 @@ interface ReadableByteStreamController {
5982
5982
  */
5983
5983
  close(): void;
5984
5984
  /**
5985
- * 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).
5985
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
5986
5986
  *
5987
5987
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
5988
5988
  */
@@ -7398,7 +7398,7 @@ interface URLPattern {
7398
7398
  */
7399
7399
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7400
7400
  /**
7401
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7401
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7402
7402
  *
7403
7403
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7404
7404
  */
@@ -10018,7 +10018,7 @@ interface WebSocket extends EventTarget {
10018
10018
  *
10019
10019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10020
10020
  */
10021
- readonly readyState: number;
10021
+ readonly readyState: 0 | 1 | 2 | 3;
10022
10022
  /**
10023
10023
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10024
10024
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.179",
3
+ "version": "0.0.180",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -5982,7 +5982,7 @@ interface ReadableByteStreamController {
5982
5982
  */
5983
5983
  close(): void;
5984
5984
  /**
5985
- * 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).
5985
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
5986
5986
  *
5987
5987
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
5988
5988
  */
@@ -7398,7 +7398,7 @@ interface URLPattern {
7398
7398
  */
7399
7399
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7400
7400
  /**
7401
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7401
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7402
7402
  *
7403
7403
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7404
7404
  */
@@ -10018,7 +10018,7 @@ interface WebSocket extends EventTarget {
10018
10018
  *
10019
10019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10020
10020
  */
10021
- readonly readyState: number;
10021
+ readonly readyState: 0 | 1 | 2 | 3;
10022
10022
  /**
10023
10023
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10024
10024
  *
package/ts5.6/index.d.ts CHANGED
@@ -5982,7 +5982,7 @@ interface ReadableByteStreamController {
5982
5982
  */
5983
5983
  close(): void;
5984
5984
  /**
5985
- * 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).
5985
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
5986
5986
  *
5987
5987
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
5988
5988
  */
@@ -7398,7 +7398,7 @@ interface URLPattern {
7398
7398
  */
7399
7399
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7400
7400
  /**
7401
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7401
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
7402
7402
  *
7403
7403
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7404
7404
  */
@@ -10018,7 +10018,7 @@ interface WebSocket extends EventTarget {
10018
10018
  *
10019
10019
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10020
10020
  */
10021
- readonly readyState: number;
10021
+ readonly readyState: 0 | 1 | 2 | 3;
10022
10022
  /**
10023
10023
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10024
10024
  *