@types/serviceworker 0.0.151 → 0.0.152

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.151 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.151.
31
+ You can read what changed in version 0.0.152 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.152.
package/index.d.ts CHANGED
@@ -6399,7 +6399,7 @@ interface ReadableByteStreamController {
6399
6399
  */
6400
6400
  close(): void;
6401
6401
  /**
6402
- * 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).
6402
+ * 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).
6403
6403
  *
6404
6404
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
6405
6405
  */
@@ -7855,7 +7855,7 @@ interface URLPattern {
7855
7855
  */
7856
7856
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7857
7857
  /**
7858
- * 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.
7858
+ * 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.
7859
7859
  *
7860
7860
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7861
7861
  */
@@ -10475,7 +10475,7 @@ interface WebSocket extends EventTarget {
10475
10475
  *
10476
10476
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10477
10477
  */
10478
- readonly readyState: number;
10478
+ readonly readyState: 0 | 1 | 2 | 3;
10479
10479
  /**
10480
10480
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10481
10481
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.151",
3
+ "version": "0.0.152",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -6399,7 +6399,7 @@ interface ReadableByteStreamController {
6399
6399
  */
6400
6400
  close(): void;
6401
6401
  /**
6402
- * 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).
6402
+ * 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).
6403
6403
  *
6404
6404
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
6405
6405
  */
@@ -7855,7 +7855,7 @@ interface URLPattern {
7855
7855
  */
7856
7856
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7857
7857
  /**
7858
- * 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.
7858
+ * 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.
7859
7859
  *
7860
7860
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7861
7861
  */
@@ -10475,7 +10475,7 @@ interface WebSocket extends EventTarget {
10475
10475
  *
10476
10476
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10477
10477
  */
10478
- readonly readyState: number;
10478
+ readonly readyState: 0 | 1 | 2 | 3;
10479
10479
  /**
10480
10480
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10481
10481
  *
package/ts5.6/index.d.ts CHANGED
@@ -6399,7 +6399,7 @@ interface ReadableByteStreamController {
6399
6399
  */
6400
6400
  close(): void;
6401
6401
  /**
6402
- * 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).
6402
+ * 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).
6403
6403
  *
6404
6404
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
6405
6405
  */
@@ -7855,7 +7855,7 @@ interface URLPattern {
7855
7855
  */
7856
7856
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
7857
7857
  /**
7858
- * 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.
7858
+ * 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.
7859
7859
  *
7860
7860
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
7861
7861
  */
@@ -10475,7 +10475,7 @@ interface WebSocket extends EventTarget {
10475
10475
  *
10476
10476
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
10477
10477
  */
10478
- readonly readyState: number;
10478
+ readonly readyState: 0 | 1 | 2 | 3;
10479
10479
  /**
10480
10480
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
10481
10481
  *