@types/web 0.0.247 → 0.0.249
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 +9 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +9 -6
- package/ts5.6/index.d.ts +9 -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.249 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.249.
|
package/index.d.ts
CHANGED
|
@@ -11348,7 +11348,7 @@ interface ElementCSSInlineStyle {
|
|
|
11348
11348
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
|
|
11349
11349
|
readonly attributeStyleMap: StylePropertyMap;
|
|
11350
11350
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
11351
|
-
get style():
|
|
11351
|
+
get style(): CSSStyleProperties;
|
|
11352
11352
|
set style(cssText: string);
|
|
11353
11353
|
}
|
|
11354
11354
|
|
|
@@ -20680,8 +20680,11 @@ interface MediaSource extends EventTarget {
|
|
|
20680
20680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration)
|
|
20681
20681
|
*/
|
|
20682
20682
|
duration: number;
|
|
20683
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */
|
|
20683
20684
|
onsourceclose: ((this: MediaSource, ev: Event) => any) | null;
|
|
20685
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */
|
|
20684
20686
|
onsourceended: ((this: MediaSource, ev: Event) => any) | null;
|
|
20687
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
20685
20688
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
20686
20689
|
/**
|
|
20687
20690
|
* The **`readyState`** read-only property of the current `MediaSource`.
|
|
@@ -29006,7 +29009,7 @@ declare var SVGMarkerElement: {
|
|
|
29006
29009
|
*/
|
|
29007
29010
|
interface SVGMaskElement extends SVGElement {
|
|
29008
29011
|
/**
|
|
29009
|
-
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the
|
|
29012
|
+
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the mask.
|
|
29010
29013
|
*
|
|
29011
29014
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/height)
|
|
29012
29015
|
*/
|
|
@@ -29024,7 +29027,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29024
29027
|
*/
|
|
29025
29028
|
readonly maskUnits: SVGAnimatedEnumeration;
|
|
29026
29029
|
/**
|
|
29027
|
-
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the
|
|
29030
|
+
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the mask.
|
|
29028
29031
|
*
|
|
29029
29032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/width)
|
|
29030
29033
|
*/
|
|
@@ -29036,7 +29039,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29036
29039
|
*/
|
|
29037
29040
|
readonly x: SVGAnimatedLength;
|
|
29038
29041
|
/**
|
|
29039
|
-
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the
|
|
29042
|
+
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the mask.
|
|
29040
29043
|
*
|
|
29041
29044
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/y)
|
|
29042
29045
|
*/
|
|
@@ -37097,7 +37100,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37097
37100
|
*
|
|
37098
37101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37099
37102
|
*/
|
|
37100
|
-
getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
37103
|
+
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
37101
37104
|
/**
|
|
37102
37105
|
* 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.
|
|
37103
37106
|
*
|
|
@@ -39133,7 +39136,7 @@ declare function focus(): void;
|
|
|
39133
39136
|
*
|
|
39134
39137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39135
39138
|
*/
|
|
39136
|
-
declare function getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
39139
|
+
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
39137
39140
|
/**
|
|
39138
39141
|
* 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.
|
|
39139
39142
|
*
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -11338,7 +11338,7 @@ interface ElementCSSInlineStyle {
|
|
|
11338
11338
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
|
|
11339
11339
|
readonly attributeStyleMap: StylePropertyMap;
|
|
11340
11340
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
11341
|
-
readonly style:
|
|
11341
|
+
readonly style: CSSStyleProperties;
|
|
11342
11342
|
}
|
|
11343
11343
|
|
|
11344
11344
|
interface ElementContentEditable {
|
|
@@ -20659,8 +20659,11 @@ interface MediaSource extends EventTarget {
|
|
|
20659
20659
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration)
|
|
20660
20660
|
*/
|
|
20661
20661
|
duration: number;
|
|
20662
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */
|
|
20662
20663
|
onsourceclose: ((this: MediaSource, ev: Event) => any) | null;
|
|
20664
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */
|
|
20663
20665
|
onsourceended: ((this: MediaSource, ev: Event) => any) | null;
|
|
20666
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
20664
20667
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
20665
20668
|
/**
|
|
20666
20669
|
* The **`readyState`** read-only property of the current `MediaSource`.
|
|
@@ -28984,7 +28987,7 @@ declare var SVGMarkerElement: {
|
|
|
28984
28987
|
*/
|
|
28985
28988
|
interface SVGMaskElement extends SVGElement {
|
|
28986
28989
|
/**
|
|
28987
|
-
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the
|
|
28990
|
+
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the mask.
|
|
28988
28991
|
*
|
|
28989
28992
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/height)
|
|
28990
28993
|
*/
|
|
@@ -29002,7 +29005,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29002
29005
|
*/
|
|
29003
29006
|
readonly maskUnits: SVGAnimatedEnumeration;
|
|
29004
29007
|
/**
|
|
29005
|
-
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the
|
|
29008
|
+
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the mask.
|
|
29006
29009
|
*
|
|
29007
29010
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/width)
|
|
29008
29011
|
*/
|
|
@@ -29014,7 +29017,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29014
29017
|
*/
|
|
29015
29018
|
readonly x: SVGAnimatedLength;
|
|
29016
29019
|
/**
|
|
29017
|
-
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the
|
|
29020
|
+
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the mask.
|
|
29018
29021
|
*
|
|
29019
29022
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/y)
|
|
29020
29023
|
*/
|
|
@@ -37074,7 +37077,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37074
37077
|
*
|
|
37075
37078
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37076
37079
|
*/
|
|
37077
|
-
getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
37080
|
+
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
37078
37081
|
/**
|
|
37079
37082
|
* 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.
|
|
37080
37083
|
*
|
|
@@ -39110,7 +39113,7 @@ declare function focus(): void;
|
|
|
39110
39113
|
*
|
|
39111
39114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39112
39115
|
*/
|
|
39113
|
-
declare function getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
39116
|
+
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
39114
39117
|
/**
|
|
39115
39118
|
* 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.
|
|
39116
39119
|
*
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -11348,7 +11348,7 @@ interface ElementCSSInlineStyle {
|
|
|
11348
11348
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
|
|
11349
11349
|
readonly attributeStyleMap: StylePropertyMap;
|
|
11350
11350
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
11351
|
-
get style():
|
|
11351
|
+
get style(): CSSStyleProperties;
|
|
11352
11352
|
set style(cssText: string);
|
|
11353
11353
|
}
|
|
11354
11354
|
|
|
@@ -20680,8 +20680,11 @@ interface MediaSource extends EventTarget {
|
|
|
20680
20680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration)
|
|
20681
20681
|
*/
|
|
20682
20682
|
duration: number;
|
|
20683
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceclose_event) */
|
|
20683
20684
|
onsourceclose: ((this: MediaSource, ev: Event) => any) | null;
|
|
20685
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceended_event) */
|
|
20684
20686
|
onsourceended: ((this: MediaSource, ev: Event) => any) | null;
|
|
20687
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceopen_event) */
|
|
20685
20688
|
onsourceopen: ((this: MediaSource, ev: Event) => any) | null;
|
|
20686
20689
|
/**
|
|
20687
20690
|
* The **`readyState`** read-only property of the current `MediaSource`.
|
|
@@ -29006,7 +29009,7 @@ declare var SVGMarkerElement: {
|
|
|
29006
29009
|
*/
|
|
29007
29010
|
interface SVGMaskElement extends SVGElement {
|
|
29008
29011
|
/**
|
|
29009
|
-
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the
|
|
29012
|
+
* The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the mask.
|
|
29010
29013
|
*
|
|
29011
29014
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/height)
|
|
29012
29015
|
*/
|
|
@@ -29024,7 +29027,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29024
29027
|
*/
|
|
29025
29028
|
readonly maskUnits: SVGAnimatedEnumeration;
|
|
29026
29029
|
/**
|
|
29027
|
-
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the
|
|
29030
|
+
* The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the mask.
|
|
29028
29031
|
*
|
|
29029
29032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/width)
|
|
29030
29033
|
*/
|
|
@@ -29036,7 +29039,7 @@ interface SVGMaskElement extends SVGElement {
|
|
|
29036
29039
|
*/
|
|
29037
29040
|
readonly x: SVGAnimatedLength;
|
|
29038
29041
|
/**
|
|
29039
|
-
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the
|
|
29042
|
+
* The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the mask.
|
|
29040
29043
|
*
|
|
29041
29044
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/y)
|
|
29042
29045
|
*/
|
|
@@ -37097,7 +37100,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
37097
37100
|
*
|
|
37098
37101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
37099
37102
|
*/
|
|
37100
|
-
getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
37103
|
+
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
37101
37104
|
/**
|
|
37102
37105
|
* 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.
|
|
37103
37106
|
*
|
|
@@ -39133,7 +39136,7 @@ declare function focus(): void;
|
|
|
39133
39136
|
*
|
|
39134
39137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
|
|
39135
39138
|
*/
|
|
39136
|
-
declare function getComputedStyle(elt: Element, pseudoElt?: string | null):
|
|
39139
|
+
declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties;
|
|
39137
39140
|
/**
|
|
39138
39141
|
* 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.
|
|
39139
39142
|
*
|