@types/sharedworker 0.0.222 → 0.0.223

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.222 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.222.
31
+ You can read what changed in version 0.0.223 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.223.
package/index.d.ts CHANGED
@@ -8847,7 +8847,7 @@ interface TransformStreamDefaultController<O = any> {
8847
8847
  *
8848
8848
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
8849
8849
  */
8850
- enqueue(chunk?: O): void;
8850
+ enqueue(chunk: O): void;
8851
8851
  /**
8852
8852
  * 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.
8853
8853
  *
@@ -12308,7 +12308,7 @@ interface WritableStreamDefaultWriter<W = any> {
12308
12308
  *
12309
12309
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12310
12310
  */
12311
- write(chunk?: W): Promise<void>;
12311
+ write(chunk: W): Promise<void>;
12312
12312
  }
12313
12313
 
12314
12314
  declare var WritableStreamDefaultWriter: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.222",
3
+ "version": "0.0.223",
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
@@ -8844,7 +8844,7 @@ interface TransformStreamDefaultController<O = any> {
8844
8844
  *
8845
8845
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
8846
8846
  */
8847
- enqueue(chunk?: O): void;
8847
+ enqueue(chunk: O): void;
8848
8848
  /**
8849
8849
  * 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.
8850
8850
  *
@@ -12305,7 +12305,7 @@ interface WritableStreamDefaultWriter<W = any> {
12305
12305
  *
12306
12306
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12307
12307
  */
12308
- write(chunk?: W): Promise<void>;
12308
+ write(chunk: W): Promise<void>;
12309
12309
  }
12310
12310
 
12311
12311
  declare var WritableStreamDefaultWriter: {
package/ts5.6/index.d.ts CHANGED
@@ -8844,7 +8844,7 @@ interface TransformStreamDefaultController<O = any> {
8844
8844
  *
8845
8845
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
8846
8846
  */
8847
- enqueue(chunk?: O): void;
8847
+ enqueue(chunk: O): void;
8848
8848
  /**
8849
8849
  * 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.
8850
8850
  *
@@ -12305,7 +12305,7 @@ interface WritableStreamDefaultWriter<W = any> {
12305
12305
  *
12306
12306
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12307
12307
  */
12308
- write(chunk?: W): Promise<void>;
12308
+ write(chunk: W): Promise<void>;
12309
12309
  }
12310
12310
 
12311
12311
  declare var WritableStreamDefaultWriter: {
package/ts5.9/index.d.ts CHANGED
@@ -8844,7 +8844,7 @@ interface TransformStreamDefaultController<O = any> {
8844
8844
  *
8845
8845
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
8846
8846
  */
8847
- enqueue(chunk?: O): void;
8847
+ enqueue(chunk: O): void;
8848
8848
  /**
8849
8849
  * 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.
8850
8850
  *
@@ -12305,7 +12305,7 @@ interface WritableStreamDefaultWriter<W = any> {
12305
12305
  *
12306
12306
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12307
12307
  */
12308
- write(chunk?: W): Promise<void>;
12308
+ write(chunk: W): Promise<void>;
12309
12309
  }
12310
12310
 
12311
12311
  declare var WritableStreamDefaultWriter: {