@types/web 0.0.337 → 0.0.338

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
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.337 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.337.
50
+ You can read what changed in version 0.0.338 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.338.
package/index.d.ts CHANGED
@@ -1185,7 +1185,7 @@ interface GamepadEffectParameters {
1185
1185
  }
1186
1186
 
1187
1187
  interface GamepadEventInit extends EventInit {
1188
- gamepad: Gamepad;
1188
+ gamepad?: Gamepad | null;
1189
1189
  }
1190
1190
 
1191
1191
  interface GetAnimationsOptions {
@@ -5361,7 +5361,7 @@ declare var CSSFontFaceRule: {
5361
5361
  };
5362
5362
 
5363
5363
  /**
5364
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5364
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
5365
5365
  *
5366
5366
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5367
5367
  */
@@ -16446,7 +16446,7 @@ interface GamepadEvent extends Event {
16446
16446
 
16447
16447
  declare var GamepadEvent: {
16448
16448
  prototype: GamepadEvent;
16449
- new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;
16449
+ new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
16450
16450
  };
16451
16451
 
16452
16452
  /**
@@ -30353,7 +30353,7 @@ interface ReadableStreamDefaultController<R = any> {
30353
30353
  *
30354
30354
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
30355
30355
  */
30356
- enqueue(chunk?: R): void;
30356
+ enqueue(chunk: R): void;
30357
30357
  /**
30358
30358
  * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
30359
30359
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.337",
3
+ "version": "0.0.338",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -1182,7 +1182,7 @@ interface GamepadEffectParameters {
1182
1182
  }
1183
1183
 
1184
1184
  interface GamepadEventInit extends EventInit {
1185
- gamepad: Gamepad;
1185
+ gamepad?: Gamepad | null;
1186
1186
  }
1187
1187
 
1188
1188
  interface GetAnimationsOptions {
@@ -5357,7 +5357,7 @@ declare var CSSFontFaceRule: {
5357
5357
  };
5358
5358
 
5359
5359
  /**
5360
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5360
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
5361
5361
  *
5362
5362
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5363
5363
  */
@@ -16432,7 +16432,7 @@ interface GamepadEvent extends Event {
16432
16432
 
16433
16433
  declare var GamepadEvent: {
16434
16434
  prototype: GamepadEvent;
16435
- new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;
16435
+ new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
16436
16436
  };
16437
16437
 
16438
16438
  /**
@@ -30329,7 +30329,7 @@ interface ReadableStreamDefaultController<R = any> {
30329
30329
  *
30330
30330
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
30331
30331
  */
30332
- enqueue(chunk?: R): void;
30332
+ enqueue(chunk: R): void;
30333
30333
  /**
30334
30334
  * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
30335
30335
  *
package/ts5.6/index.d.ts CHANGED
@@ -1182,7 +1182,7 @@ interface GamepadEffectParameters {
1182
1182
  }
1183
1183
 
1184
1184
  interface GamepadEventInit extends EventInit {
1185
- gamepad: Gamepad;
1185
+ gamepad?: Gamepad | null;
1186
1186
  }
1187
1187
 
1188
1188
  interface GetAnimationsOptions {
@@ -5358,7 +5358,7 @@ declare var CSSFontFaceRule: {
5358
5358
  };
5359
5359
 
5360
5360
  /**
5361
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5361
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
5362
5362
  *
5363
5363
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5364
5364
  */
@@ -16443,7 +16443,7 @@ interface GamepadEvent extends Event {
16443
16443
 
16444
16444
  declare var GamepadEvent: {
16445
16445
  prototype: GamepadEvent;
16446
- new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;
16446
+ new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
16447
16447
  };
16448
16448
 
16449
16449
  /**
@@ -30350,7 +30350,7 @@ interface ReadableStreamDefaultController<R = any> {
30350
30350
  *
30351
30351
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
30352
30352
  */
30353
- enqueue(chunk?: R): void;
30353
+ enqueue(chunk: R): void;
30354
30354
  /**
30355
30355
  * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
30356
30356
  *
package/ts5.9/index.d.ts CHANGED
@@ -1182,7 +1182,7 @@ interface GamepadEffectParameters {
1182
1182
  }
1183
1183
 
1184
1184
  interface GamepadEventInit extends EventInit {
1185
- gamepad: Gamepad;
1185
+ gamepad?: Gamepad | null;
1186
1186
  }
1187
1187
 
1188
1188
  interface GetAnimationsOptions {
@@ -5358,7 +5358,7 @@ declare var CSSFontFaceRule: {
5358
5358
  };
5359
5359
 
5360
5360
  /**
5361
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5361
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
5362
5362
  *
5363
5363
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5364
5364
  */
@@ -16443,7 +16443,7 @@ interface GamepadEvent extends Event {
16443
16443
 
16444
16444
  declare var GamepadEvent: {
16445
16445
  prototype: GamepadEvent;
16446
- new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;
16446
+ new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
16447
16447
  };
16448
16448
 
16449
16449
  /**
@@ -30350,7 +30350,7 @@ interface ReadableStreamDefaultController<R = any> {
30350
30350
  *
30351
30351
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
30352
30352
  */
30353
- enqueue(chunk?: R): void;
30353
+ enqueue(chunk: R): void;
30354
30354
  /**
30355
30355
  * The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
30356
30356
  *