Skip to content

Commit 0c2c7a3

Browse files
authored
DOM update (#63183)
1 parent 924810c commit 0c2c7a3

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/lib/dom.generated.d.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ interface GamepadEffectParameters {
11821182
}
11831183

11841184
interface GamepadEventInit extends EventInit {
1185-
gamepad: Gamepad;
1185+
gamepad?: Gamepad | null;
11861186
}
11871187

11881188
interface GetAnimationsOptions {
@@ -5358,13 +5358,13 @@ declare var CSSFontFaceRule: {
53585358
};
53595359

53605360
/**
5361-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule, letting developers assign for each font face a common name to specify features indices to be used in font-variant-alternates.
5361+
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
53625362
*
53635363
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
53645364
*/
53655365
interface CSSFontFeatureValuesRule extends CSSRule {
53665366
/**
5367-
* The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to.
5367+
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
53685368
*
53695369
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
53705370
*/
@@ -6815,6 +6815,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
68156815
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
68166816
*/
68176817
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. */
68186819
baselineShift: string;
68196820
/**
68206821
* 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 {
1644216443

1644316444
declare var GamepadEvent: {
1644416445
prototype: GamepadEvent;
16445-
new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;
16446+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
1644616447
};
1644716448

1644816449
/**
@@ -30349,7 +30350,7 @@ interface ReadableStreamDefaultController<R = any> {
3034930350
*
3035030351
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
3035130352
*/
30352-
enqueue(chunk?: R): void;
30353+
enqueue(chunk: R): void;
3035330354
/**
3035430355
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
3035530356
*
@@ -35321,7 +35322,7 @@ declare var ShadowRoot: {
3532135322
};
3532235323

3532335324
/**
35324-
* The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope.
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.
3532535326
*
3532635327
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
3532735328
*/

src/lib/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9276,7 +9276,7 @@ interface ReadableStreamDefaultController<R = any> {
92769276
*
92779277
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
92789278
*/
9279-
enqueue(chunk?: R): void;
9279+
enqueue(chunk: R): void;
92809280
/**
92819281
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
92829282
*

0 commit comments

Comments
 (0)