@@ -2363,8 +2363,8 @@ interface ULongRange {
23632363}
23642364
23652365interface URLPatternComponentResult {
2366- groups? : Record<string, string | undefined>;
2367- input? : string;
2366+ groups: Record<string, string | undefined>;
2367+ input: string;
23682368}
23692369
23702370interface URLPatternInit {
@@ -2384,15 +2384,15 @@ interface URLPatternOptions {
23842384}
23852385
23862386interface URLPatternResult {
2387- hash? : URLPatternComponentResult;
2388- hostname? : URLPatternComponentResult;
2389- inputs? : URLPatternInput[];
2390- password? : URLPatternComponentResult;
2391- pathname? : URLPatternComponentResult;
2392- port? : URLPatternComponentResult;
2393- protocol? : URLPatternComponentResult;
2394- search? : URLPatternComponentResult;
2395- username? : URLPatternComponentResult;
2387+ hash: URLPatternComponentResult;
2388+ hostname: URLPatternComponentResult;
2389+ inputs: URLPatternInput[];
2390+ password: URLPatternComponentResult;
2391+ pathname: URLPatternComponentResult;
2392+ port: URLPatternComponentResult;
2393+ protocol: URLPatternComponentResult;
2394+ search: URLPatternComponentResult;
2395+ username: URLPatternComponentResult;
23962396}
23972397
23982398interface UnderlyingByteSource {
@@ -4821,7 +4821,7 @@ interface CSSFontFaceRule extends CSSRule {
48214821 *
48224822 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
48234823 */
4824- get style(): CSSStyleProperties ;
4824+ get style(): CSSStyleDeclaration ;
48254825 set style(cssText: string);
48264826}
48274827
@@ -4991,7 +4991,7 @@ interface CSSKeyframeRule extends CSSRule {
49914991 *
49924992 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
49934993 */
4994- get style(): CSSStyleProperties ;
4994+ get style(): CSSStyleDeclaration ;
49954995 set style(cssText: string);
49964996}
49974997
@@ -5326,7 +5326,7 @@ interface CSSNestedDeclarations extends CSSRule {
53265326 *
53275327 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
53285328 */
5329- get style(): CSSStyleProperties ;
5329+ get style(): CSSStyleDeclaration ;
53305330 set style(cssText: string);
53315331}
53325332
@@ -5440,7 +5440,7 @@ declare var CSSNumericValue: {
54405440 *
54415441 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
54425442 */
5443- interface CSSPageDescriptors extends CSSStyleDeclaration {
5443+ interface CSSPageDescriptors extends CSSStyleDeclarationBase {
54445444 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
54455445 margin: string;
54465446 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
@@ -5518,7 +5518,7 @@ declare var CSSPerspective: {
55185518 *
55195519 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
55205520 */
5521- interface CSSPositionTryDescriptors extends CSSStyleDeclaration {
5521+ interface CSSPositionTryDescriptors extends CSSStyleDeclarationBase {
55225522 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
55235523 "align-self": string;
55245524 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
@@ -5992,7 +5992,7 @@ declare var CSSStartingStyleRule: {
59925992 *
59935993 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
59945994 */
5995- interface CSSStyleDeclaration {
5995+ interface CSSStyleDeclarationBase {
59965996 /**
59975997 * The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's **inline** style declaration only.
59985998 *
@@ -6044,12 +6044,15 @@ interface CSSStyleDeclaration {
60446044 [index: number]: string;
60456045}
60466046
6047+ interface CSSStyleDeclaration extends CSSStyleProperties {
6048+ }
6049+
60476050declare var CSSStyleDeclaration: {
60486051 prototype: CSSStyleDeclaration;
60496052 new(): CSSStyleDeclaration;
60506053};
60516054
6052- interface CSSStyleProperties extends CSSStyleDeclaration {
6055+ interface CSSStyleProperties extends CSSStyleDeclarationBase {
60536056 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */
60546057 accentColor: string;
60556058 /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */
@@ -7414,7 +7417,7 @@ interface CSSStyleRule extends CSSGroupingRule {
74147417 *
74157418 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
74167419 */
7417- get style(): CSSStyleProperties ;
7420+ get style(): CSSStyleDeclaration ;
74187421 set style(cssText: string);
74197422 /**
74207423 * The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
@@ -11458,7 +11461,7 @@ interface ElementCSSInlineStyle {
1145811461 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
1145911462 readonly attributeStyleMap: StylePropertyMap;
1146011463 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
11461- get style(): CSSStyleProperties ;
11464+ get style(): CSSStyleDeclaration ;
1146211465 set style(cssText: string);
1146311466}
1146411467
@@ -37355,7 +37358,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
3735537358 *
3735637359 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3735737360 */
37358- getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties ;
37361+ getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration ;
3735937362 /**
3736037363 * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3736137364 *
@@ -39457,7 +39460,7 @@ declare function focus(): void;
3945739460 *
3945839461 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
3945939462 */
39460- declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties ;
39463+ declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration ;
3946139464/**
3946239465 * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
3946339466 *
0 commit comments