@types/web 0.0.199 → 0.0.200
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 +37 -7
- package/package.json +1 -1
- package/ts5.5/index.d.ts +37 -7
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.200 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.200.
|
package/index.d.ts
CHANGED
|
@@ -4856,11 +4856,23 @@ interface CSSStyleDeclaration {
|
|
|
4856
4856
|
paddingTop: string;
|
|
4857
4857
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page) */
|
|
4858
4858
|
page: string;
|
|
4859
|
-
/**
|
|
4859
|
+
/**
|
|
4860
|
+
* @deprecated
|
|
4861
|
+
*
|
|
4862
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-after)
|
|
4863
|
+
*/
|
|
4860
4864
|
pageBreakAfter: string;
|
|
4861
|
-
/**
|
|
4865
|
+
/**
|
|
4866
|
+
* @deprecated
|
|
4867
|
+
*
|
|
4868
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-before)
|
|
4869
|
+
*/
|
|
4862
4870
|
pageBreakBefore: string;
|
|
4863
|
-
/**
|
|
4871
|
+
/**
|
|
4872
|
+
* @deprecated
|
|
4873
|
+
*
|
|
4874
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-inside)
|
|
4875
|
+
*/
|
|
4864
4876
|
pageBreakInside: string;
|
|
4865
4877
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
4866
4878
|
paintOrder: string;
|
|
@@ -5969,11 +5981,9 @@ interface CanvasRect {
|
|
|
5969
5981
|
*
|
|
5970
5982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D)
|
|
5971
5983
|
*/
|
|
5972
|
-
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
5984
|
+
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
5973
5985
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
5974
5986
|
readonly canvas: HTMLCanvasElement;
|
|
5975
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */
|
|
5976
|
-
getContextAttributes(): CanvasRenderingContext2DSettings;
|
|
5977
5987
|
}
|
|
5978
5988
|
|
|
5979
5989
|
declare var CanvasRenderingContext2D: {
|
|
@@ -5981,6 +5991,11 @@ declare var CanvasRenderingContext2D: {
|
|
|
5981
5991
|
new(): CanvasRenderingContext2D;
|
|
5982
5992
|
};
|
|
5983
5993
|
|
|
5994
|
+
interface CanvasSettings {
|
|
5995
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */
|
|
5996
|
+
getContextAttributes(): CanvasRenderingContext2DSettings;
|
|
5997
|
+
}
|
|
5998
|
+
|
|
5984
5999
|
interface CanvasShadowStyles {
|
|
5985
6000
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) */
|
|
5986
6001
|
shadowBlur: number;
|
|
@@ -6686,7 +6701,9 @@ interface DOMMatrixReadOnly {
|
|
|
6686
6701
|
readonly e: number;
|
|
6687
6702
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6688
6703
|
readonly f: number;
|
|
6704
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
6689
6705
|
readonly is2D: boolean;
|
|
6706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
6690
6707
|
readonly isIdentity: boolean;
|
|
6691
6708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6692
6709
|
readonly m11: number;
|
|
@@ -12432,7 +12449,11 @@ interface HTMLModElement extends HTMLElement {
|
|
|
12432
12449
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
|
|
12433
12450
|
*/
|
|
12434
12451
|
cite: string;
|
|
12435
|
-
/**
|
|
12452
|
+
/**
|
|
12453
|
+
* Sets or retrieves the date and time of a modification to the object.
|
|
12454
|
+
*
|
|
12455
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)
|
|
12456
|
+
*/
|
|
12436
12457
|
dateTime: string;
|
|
12437
12458
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12438
12459
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20188,8 +20209,11 @@ interface SVGAnimationElement extends SVGElement, SVGTests {
|
|
|
20188
20209
|
endElement(): void;
|
|
20189
20210
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElementAt) */
|
|
20190
20211
|
endElementAt(offset: number): void;
|
|
20212
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getCurrentTime) */
|
|
20191
20213
|
getCurrentTime(): number;
|
|
20214
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getSimpleDuration) */
|
|
20192
20215
|
getSimpleDuration(): number;
|
|
20216
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getStartTime) */
|
|
20193
20217
|
getStartTime(): number;
|
|
20194
20218
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20195
20219
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20870,8 +20894,11 @@ declare var SVGFEOffsetElement: {
|
|
|
20870
20894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement)
|
|
20871
20895
|
*/
|
|
20872
20896
|
interface SVGFEPointLightElement extends SVGElement {
|
|
20897
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/x) */
|
|
20873
20898
|
readonly x: SVGAnimatedNumber;
|
|
20899
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/y) */
|
|
20874
20900
|
readonly y: SVGAnimatedNumber;
|
|
20901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/z) */
|
|
20875
20902
|
readonly z: SVGAnimatedNumber;
|
|
20876
20903
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20877
20904
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20922,8 +20949,11 @@ interface SVGFESpotLightElement extends SVGElement {
|
|
|
20922
20949
|
readonly pointsAtY: SVGAnimatedNumber;
|
|
20923
20950
|
readonly pointsAtZ: SVGAnimatedNumber;
|
|
20924
20951
|
readonly specularExponent: SVGAnimatedNumber;
|
|
20952
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/x) */
|
|
20925
20953
|
readonly x: SVGAnimatedNumber;
|
|
20954
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/y) */
|
|
20926
20955
|
readonly y: SVGAnimatedNumber;
|
|
20956
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/z) */
|
|
20927
20957
|
readonly z: SVGAnimatedNumber;
|
|
20928
20958
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20929
20959
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -4850,11 +4850,23 @@ interface CSSStyleDeclaration {
|
|
|
4850
4850
|
paddingTop: string;
|
|
4851
4851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page) */
|
|
4852
4852
|
page: string;
|
|
4853
|
-
/**
|
|
4853
|
+
/**
|
|
4854
|
+
* @deprecated
|
|
4855
|
+
*
|
|
4856
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-after)
|
|
4857
|
+
*/
|
|
4854
4858
|
pageBreakAfter: string;
|
|
4855
|
-
/**
|
|
4859
|
+
/**
|
|
4860
|
+
* @deprecated
|
|
4861
|
+
*
|
|
4862
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-before)
|
|
4863
|
+
*/
|
|
4856
4864
|
pageBreakBefore: string;
|
|
4857
|
-
/**
|
|
4865
|
+
/**
|
|
4866
|
+
* @deprecated
|
|
4867
|
+
*
|
|
4868
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-inside)
|
|
4869
|
+
*/
|
|
4858
4870
|
pageBreakInside: string;
|
|
4859
4871
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */
|
|
4860
4872
|
paintOrder: string;
|
|
@@ -5962,11 +5974,9 @@ interface CanvasRect {
|
|
|
5962
5974
|
*
|
|
5963
5975
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D)
|
|
5964
5976
|
*/
|
|
5965
|
-
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
5977
|
+
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
5966
5978
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
5967
5979
|
readonly canvas: HTMLCanvasElement;
|
|
5968
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */
|
|
5969
|
-
getContextAttributes(): CanvasRenderingContext2DSettings;
|
|
5970
5980
|
}
|
|
5971
5981
|
|
|
5972
5982
|
declare var CanvasRenderingContext2D: {
|
|
@@ -5974,6 +5984,11 @@ declare var CanvasRenderingContext2D: {
|
|
|
5974
5984
|
new(): CanvasRenderingContext2D;
|
|
5975
5985
|
};
|
|
5976
5986
|
|
|
5987
|
+
interface CanvasSettings {
|
|
5988
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */
|
|
5989
|
+
getContextAttributes(): CanvasRenderingContext2DSettings;
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5977
5992
|
interface CanvasShadowStyles {
|
|
5978
5993
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) */
|
|
5979
5994
|
shadowBlur: number;
|
|
@@ -6679,7 +6694,9 @@ interface DOMMatrixReadOnly {
|
|
|
6679
6694
|
readonly e: number;
|
|
6680
6695
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6681
6696
|
readonly f: number;
|
|
6697
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
6682
6698
|
readonly is2D: boolean;
|
|
6699
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
6683
6700
|
readonly isIdentity: boolean;
|
|
6684
6701
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6685
6702
|
readonly m11: number;
|
|
@@ -12415,7 +12432,11 @@ interface HTMLModElement extends HTMLElement {
|
|
|
12415
12432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)
|
|
12416
12433
|
*/
|
|
12417
12434
|
cite: string;
|
|
12418
|
-
/**
|
|
12435
|
+
/**
|
|
12436
|
+
* Sets or retrieves the date and time of a modification to the object.
|
|
12437
|
+
*
|
|
12438
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)
|
|
12439
|
+
*/
|
|
12419
12440
|
dateTime: string;
|
|
12420
12441
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12421
12442
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20167,8 +20188,11 @@ interface SVGAnimationElement extends SVGElement, SVGTests {
|
|
|
20167
20188
|
endElement(): void;
|
|
20168
20189
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElementAt) */
|
|
20169
20190
|
endElementAt(offset: number): void;
|
|
20191
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getCurrentTime) */
|
|
20170
20192
|
getCurrentTime(): number;
|
|
20193
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getSimpleDuration) */
|
|
20171
20194
|
getSimpleDuration(): number;
|
|
20195
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getStartTime) */
|
|
20172
20196
|
getStartTime(): number;
|
|
20173
20197
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20174
20198
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20849,8 +20873,11 @@ declare var SVGFEOffsetElement: {
|
|
|
20849
20873
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement)
|
|
20850
20874
|
*/
|
|
20851
20875
|
interface SVGFEPointLightElement extends SVGElement {
|
|
20876
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/x) */
|
|
20852
20877
|
readonly x: SVGAnimatedNumber;
|
|
20878
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/y) */
|
|
20853
20879
|
readonly y: SVGAnimatedNumber;
|
|
20880
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/z) */
|
|
20854
20881
|
readonly z: SVGAnimatedNumber;
|
|
20855
20882
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20856
20883
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20901,8 +20928,11 @@ interface SVGFESpotLightElement extends SVGElement {
|
|
|
20901
20928
|
readonly pointsAtY: SVGAnimatedNumber;
|
|
20902
20929
|
readonly pointsAtZ: SVGAnimatedNumber;
|
|
20903
20930
|
readonly specularExponent: SVGAnimatedNumber;
|
|
20931
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/x) */
|
|
20904
20932
|
readonly x: SVGAnimatedNumber;
|
|
20933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/y) */
|
|
20905
20934
|
readonly y: SVGAnimatedNumber;
|
|
20935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/z) */
|
|
20906
20936
|
readonly z: SVGAnimatedNumber;
|
|
20907
20937
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20908
20938
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|