@types/webworker 0.0.25 → 0.0.27

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
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
45
45
 
46
46
  ## Deploy Metadata
47
47
 
48
- You can read what changed in version 0.0.25 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.25.
48
+ You can read what changed in version 0.0.27 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.27.
package/index.d.ts CHANGED
@@ -7501,7 +7501,7 @@ interface ReadableByteStreamController {
7501
7501
  */
7502
7502
  close(): void;
7503
7503
  /**
7504
- * 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).
7504
+ * 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).
7505
7505
  *
7506
7506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
7507
7507
  */
@@ -9004,7 +9004,7 @@ interface URLPattern {
9004
9004
  */
9005
9005
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
9006
9006
  /**
9007
- * 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.
9007
+ * 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.
9008
9008
  *
9009
9009
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
9010
9010
  */
@@ -11909,7 +11909,7 @@ interface WebSocket extends EventTarget {
11909
11909
  *
11910
11910
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
11911
11911
  */
11912
- readonly readyState: number;
11912
+ readonly readyState: 0 | 1 | 2 | 3;
11913
11913
  /**
11914
11914
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
11915
11915
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Types for the global scope of Web Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -7501,7 +7501,7 @@ interface ReadableByteStreamController {
7501
7501
  */
7502
7502
  close(): void;
7503
7503
  /**
7504
- * 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).
7504
+ * 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).
7505
7505
  *
7506
7506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
7507
7507
  */
@@ -9004,7 +9004,7 @@ interface URLPattern {
9004
9004
  */
9005
9005
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
9006
9006
  /**
9007
- * 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.
9007
+ * 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.
9008
9008
  *
9009
9009
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
9010
9010
  */
@@ -11909,7 +11909,7 @@ interface WebSocket extends EventTarget {
11909
11909
  *
11910
11910
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
11911
11911
  */
11912
- readonly readyState: number;
11912
+ readonly readyState: 0 | 1 | 2 | 3;
11913
11913
  /**
11914
11914
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
11915
11915
  *
package/ts5.6/index.d.ts CHANGED
@@ -7501,7 +7501,7 @@ interface ReadableByteStreamController {
7501
7501
  */
7502
7502
  close(): void;
7503
7503
  /**
7504
- * 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).
7504
+ * 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).
7505
7505
  *
7506
7506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
7507
7507
  */
@@ -9004,7 +9004,7 @@ interface URLPattern {
9004
9004
  */
9005
9005
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
9006
9006
  /**
9007
- * 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.
9007
+ * 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.
9008
9008
  *
9009
9009
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
9010
9010
  */
@@ -11909,7 +11909,7 @@ interface WebSocket extends EventTarget {
11909
11909
  *
11910
11910
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
11911
11911
  */
11912
- readonly readyState: number;
11912
+ readonly readyState: 0 | 1 | 2 | 3;
11913
11913
  /**
11914
11914
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
11915
11915
  *