@types/web 0.0.336 → 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 +1 -1
- package/index.d.ts +7 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +7 -6
- package/ts5.6/index.d.ts +7 -6
- package/ts5.9/index.d.ts +7 -6
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.
|
|
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
|
|
1188
|
+
gamepad?: Gamepad | null;
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
1191
|
interface GetAnimationsOptions {
|
|
@@ -5361,13 +5361,13 @@ declare var CSSFontFaceRule: {
|
|
|
5361
5361
|
};
|
|
5362
5362
|
|
|
5363
5363
|
/**
|
|
5364
|
-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule
|
|
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
|
*/
|
|
5368
5368
|
interface CSSFontFeatureValuesRule extends CSSRule {
|
|
5369
5369
|
/**
|
|
5370
|
-
* The **`fontFamily`** property of the
|
|
5370
|
+
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
|
|
5371
5371
|
*
|
|
5372
5372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
|
|
5373
5373
|
*/
|
|
@@ -6818,6 +6818,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6818
6818
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6819
6819
|
*/
|
|
6820
6820
|
backgroundSize: string;
|
|
6821
|
+
/** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
|
|
6821
6822
|
baselineShift: string;
|
|
6822
6823
|
/**
|
|
6823
6824
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -16445,7 +16446,7 @@ interface GamepadEvent extends Event {
|
|
|
16445
16446
|
|
|
16446
16447
|
declare var GamepadEvent: {
|
|
16447
16448
|
prototype: GamepadEvent;
|
|
16448
|
-
new(type: string, eventInitDict
|
|
16449
|
+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
|
|
16449
16450
|
};
|
|
16450
16451
|
|
|
16451
16452
|
/**
|
|
@@ -30352,7 +30353,7 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
30352
30353
|
*
|
|
30353
30354
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
30354
30355
|
*/
|
|
30355
|
-
enqueue(chunk
|
|
30356
|
+
enqueue(chunk: R): void;
|
|
30356
30357
|
/**
|
|
30357
30358
|
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
30358
30359
|
*
|
|
@@ -35324,7 +35325,7 @@ declare var ShadowRoot: {
|
|
|
35324
35325
|
};
|
|
35325
35326
|
|
|
35326
35327
|
/**
|
|
35327
|
-
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as
|
|
35328
|
+
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
|
|
35328
35329
|
*
|
|
35329
35330
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
|
|
35330
35331
|
*/
|
package/package.json
CHANGED
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
|
|
1185
|
+
gamepad?: Gamepad | null;
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
interface GetAnimationsOptions {
|
|
@@ -5357,13 +5357,13 @@ declare var CSSFontFaceRule: {
|
|
|
5357
5357
|
};
|
|
5358
5358
|
|
|
5359
5359
|
/**
|
|
5360
|
-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule
|
|
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
|
*/
|
|
5364
5364
|
interface CSSFontFeatureValuesRule extends CSSRule {
|
|
5365
5365
|
/**
|
|
5366
|
-
* The **`fontFamily`** property of the
|
|
5366
|
+
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
|
|
5367
5367
|
*
|
|
5368
5368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
|
|
5369
5369
|
*/
|
|
@@ -6808,6 +6808,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6808
6808
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6809
6809
|
*/
|
|
6810
6810
|
backgroundSize: string;
|
|
6811
|
+
/** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
|
|
6811
6812
|
baselineShift: string;
|
|
6812
6813
|
/**
|
|
6813
6814
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -16431,7 +16432,7 @@ interface GamepadEvent extends Event {
|
|
|
16431
16432
|
|
|
16432
16433
|
declare var GamepadEvent: {
|
|
16433
16434
|
prototype: GamepadEvent;
|
|
16434
|
-
new(type: string, eventInitDict
|
|
16435
|
+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
|
|
16435
16436
|
};
|
|
16436
16437
|
|
|
16437
16438
|
/**
|
|
@@ -30328,7 +30329,7 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
30328
30329
|
*
|
|
30329
30330
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
30330
30331
|
*/
|
|
30331
|
-
enqueue(chunk
|
|
30332
|
+
enqueue(chunk: R): void;
|
|
30332
30333
|
/**
|
|
30333
30334
|
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
30334
30335
|
*
|
|
@@ -35299,7 +35300,7 @@ declare var ShadowRoot: {
|
|
|
35299
35300
|
};
|
|
35300
35301
|
|
|
35301
35302
|
/**
|
|
35302
|
-
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as
|
|
35303
|
+
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
|
|
35303
35304
|
*
|
|
35304
35305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
|
|
35305
35306
|
*/
|
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
|
|
1185
|
+
gamepad?: Gamepad | null;
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
interface GetAnimationsOptions {
|
|
@@ -5358,13 +5358,13 @@ declare var CSSFontFaceRule: {
|
|
|
5358
5358
|
};
|
|
5359
5359
|
|
|
5360
5360
|
/**
|
|
5361
|
-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule
|
|
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
|
*/
|
|
5365
5365
|
interface CSSFontFeatureValuesRule extends CSSRule {
|
|
5366
5366
|
/**
|
|
5367
|
-
* The **`fontFamily`** property of the
|
|
5367
|
+
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
|
|
5368
5368
|
*
|
|
5369
5369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
|
|
5370
5370
|
*/
|
|
@@ -6815,6 +6815,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6815
6815
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6816
6816
|
*/
|
|
6817
6817
|
backgroundSize: string;
|
|
6818
|
+
/** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
|
|
6818
6819
|
baselineShift: string;
|
|
6819
6820
|
/**
|
|
6820
6821
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -16442,7 +16443,7 @@ interface GamepadEvent extends Event {
|
|
|
16442
16443
|
|
|
16443
16444
|
declare var GamepadEvent: {
|
|
16444
16445
|
prototype: GamepadEvent;
|
|
16445
|
-
new(type: string, eventInitDict
|
|
16446
|
+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
|
|
16446
16447
|
};
|
|
16447
16448
|
|
|
16448
16449
|
/**
|
|
@@ -30349,7 +30350,7 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
30349
30350
|
*
|
|
30350
30351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
30351
30352
|
*/
|
|
30352
|
-
enqueue(chunk
|
|
30353
|
+
enqueue(chunk: R): void;
|
|
30353
30354
|
/**
|
|
30354
30355
|
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
30355
30356
|
*
|
|
@@ -35321,7 +35322,7 @@ declare var ShadowRoot: {
|
|
|
35321
35322
|
};
|
|
35322
35323
|
|
|
35323
35324
|
/**
|
|
35324
|
-
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as
|
|
35325
|
+
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
|
|
35325
35326
|
*
|
|
35326
35327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
|
|
35327
35328
|
*/
|
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
|
|
1185
|
+
gamepad?: Gamepad | null;
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
interface GetAnimationsOptions {
|
|
@@ -5358,13 +5358,13 @@ declare var CSSFontFaceRule: {
|
|
|
5358
5358
|
};
|
|
5359
5359
|
|
|
5360
5360
|
/**
|
|
5361
|
-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule
|
|
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
|
*/
|
|
5365
5365
|
interface CSSFontFeatureValuesRule extends CSSRule {
|
|
5366
5366
|
/**
|
|
5367
|
-
* The **`fontFamily`** property of the
|
|
5367
|
+
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
|
|
5368
5368
|
*
|
|
5369
5369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
|
|
5370
5370
|
*/
|
|
@@ -6815,6 +6815,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6815
6815
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6816
6816
|
*/
|
|
6817
6817
|
backgroundSize: string;
|
|
6818
|
+
/** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
|
|
6818
6819
|
baselineShift: string;
|
|
6819
6820
|
/**
|
|
6820
6821
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -16442,7 +16443,7 @@ interface GamepadEvent extends Event {
|
|
|
16442
16443
|
|
|
16443
16444
|
declare var GamepadEvent: {
|
|
16444
16445
|
prototype: GamepadEvent;
|
|
16445
|
-
new(type: string, eventInitDict
|
|
16446
|
+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
|
|
16446
16447
|
};
|
|
16447
16448
|
|
|
16448
16449
|
/**
|
|
@@ -30349,7 +30350,7 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
30349
30350
|
*
|
|
30350
30351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
30351
30352
|
*/
|
|
30352
|
-
enqueue(chunk
|
|
30353
|
+
enqueue(chunk: R): void;
|
|
30353
30354
|
/**
|
|
30354
30355
|
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
30355
30356
|
*
|
|
@@ -35321,7 +35322,7 @@ declare var ShadowRoot: {
|
|
|
35321
35322
|
};
|
|
35322
35323
|
|
|
35323
35324
|
/**
|
|
35324
|
-
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as
|
|
35325
|
+
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
|
|
35325
35326
|
*
|
|
35326
35327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
|
|
35327
35328
|
*/
|