@types/serviceworker 0.0.193 → 0.0.194

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.193 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.193.
31
+ You can read what changed in version 0.0.194 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.194.
package/index.d.ts CHANGED
@@ -9316,7 +9316,7 @@ interface TransformStreamDefaultController<O = any> {
9316
9316
  *
9317
9317
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9318
9318
  */
9319
- enqueue(chunk?: O): void;
9319
+ enqueue(chunk: O): void;
9320
9320
  /**
9321
9321
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9322
9322
  *
@@ -12769,7 +12769,7 @@ interface WritableStreamDefaultWriter<W = any> {
12769
12769
  *
12770
12770
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12771
12771
  */
12772
- write(chunk?: W): Promise<void>;
12772
+ write(chunk: W): Promise<void>;
12773
12773
  }
12774
12774
 
12775
12775
  declare var WritableStreamDefaultWriter: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.193",
3
+ "version": "0.0.194",
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
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {
package/ts5.6/index.d.ts CHANGED
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {
package/ts5.9/index.d.ts CHANGED
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {