@types/web 0.0.188 → 0.0.189
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 +27 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +27 -0
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.189 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.189.
|
package/index.d.ts
CHANGED
|
@@ -6731,10 +6731,13 @@ interface DOMMatrixReadOnly {
|
|
|
6731
6731
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
6732
6732
|
skewX(sx?: number): DOMMatrix;
|
|
6733
6733
|
skewY(sy?: number): DOMMatrix;
|
|
6734
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
6734
6735
|
toFloat32Array(): Float32Array;
|
|
6736
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
6735
6737
|
toFloat64Array(): Float64Array;
|
|
6736
6738
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
|
|
6737
6739
|
toJSON(): any;
|
|
6740
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
6738
6741
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
6739
6742
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
6740
6743
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -6806,6 +6809,7 @@ interface DOMPointReadOnly {
|
|
|
6806
6809
|
readonly y: number;
|
|
6807
6810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
6808
6811
|
readonly z: number;
|
|
6812
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
6809
6813
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
6810
6814
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
6811
6815
|
toJSON(): any;
|
|
@@ -20294,7 +20298,9 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
|
|
|
20294
20298
|
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
|
|
20295
20299
|
/** @deprecated */
|
|
20296
20300
|
readonly className: any;
|
|
20301
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement) */
|
|
20297
20302
|
readonly ownerSVGElement: SVGSVGElement | null;
|
|
20303
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement) */
|
|
20298
20304
|
readonly viewportElement: SVGElement | null;
|
|
20299
20305
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20300
20306
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21201,9 +21207,13 @@ declare var SVGLineElement: {
|
|
|
21201
21207
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement)
|
|
21202
21208
|
*/
|
|
21203
21209
|
interface SVGLinearGradientElement extends SVGGradientElement {
|
|
21210
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1) */
|
|
21204
21211
|
readonly x1: SVGAnimatedLength;
|
|
21212
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2) */
|
|
21205
21213
|
readonly x2: SVGAnimatedLength;
|
|
21214
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1) */
|
|
21206
21215
|
readonly y1: SVGAnimatedLength;
|
|
21216
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2) */
|
|
21207
21217
|
readonly y2: SVGAnimatedLength;
|
|
21208
21218
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21209
21219
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21379,8 +21389,11 @@ declare var SVGPathElement: {
|
|
|
21379
21389
|
*/
|
|
21380
21390
|
interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {
|
|
21381
21391
|
readonly height: SVGAnimatedLength;
|
|
21392
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits) */
|
|
21382
21393
|
readonly patternContentUnits: SVGAnimatedEnumeration;
|
|
21394
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform) */
|
|
21383
21395
|
readonly patternTransform: SVGAnimatedTransformList;
|
|
21396
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits) */
|
|
21384
21397
|
readonly patternUnits: SVGAnimatedEnumeration;
|
|
21385
21398
|
readonly width: SVGAnimatedLength;
|
|
21386
21399
|
readonly x: SVGAnimatedLength;
|
|
@@ -21507,11 +21520,16 @@ declare var SVGPreserveAspectRatio: {
|
|
|
21507
21520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement)
|
|
21508
21521
|
*/
|
|
21509
21522
|
interface SVGRadialGradientElement extends SVGGradientElement {
|
|
21523
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx) */
|
|
21510
21524
|
readonly cx: SVGAnimatedLength;
|
|
21525
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21511
21526
|
readonly cy: SVGAnimatedLength;
|
|
21512
21527
|
readonly fr: SVGAnimatedLength;
|
|
21528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21513
21529
|
readonly fx: SVGAnimatedLength;
|
|
21530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy) */
|
|
21514
21531
|
readonly fy: SVGAnimatedLength;
|
|
21532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r) */
|
|
21515
21533
|
readonly r: SVGAnimatedLength;
|
|
21516
21534
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21517
21535
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21887,14 +21905,23 @@ declare var SVGTitleElement: {
|
|
|
21887
21905
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)
|
|
21888
21906
|
*/
|
|
21889
21907
|
interface SVGTransform {
|
|
21908
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle) */
|
|
21890
21909
|
readonly angle: number;
|
|
21910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix) */
|
|
21891
21911
|
readonly matrix: DOMMatrix;
|
|
21912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type) */
|
|
21892
21913
|
readonly type: number;
|
|
21914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix) */
|
|
21893
21915
|
setMatrix(matrix?: DOMMatrix2DInit): void;
|
|
21916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate) */
|
|
21894
21917
|
setRotate(angle: number, cx: number, cy: number): void;
|
|
21918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale) */
|
|
21895
21919
|
setScale(sx: number, sy: number): void;
|
|
21920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX) */
|
|
21896
21921
|
setSkewX(angle: number): void;
|
|
21922
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY) */
|
|
21897
21923
|
setSkewY(angle: number): void;
|
|
21924
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate) */
|
|
21898
21925
|
setTranslate(tx: number, ty: number): void;
|
|
21899
21926
|
readonly SVG_TRANSFORM_UNKNOWN: 0;
|
|
21900
21927
|
readonly SVG_TRANSFORM_MATRIX: 1;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -6724,10 +6724,13 @@ interface DOMMatrixReadOnly {
|
|
|
6724
6724
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
6725
6725
|
skewX(sx?: number): DOMMatrix;
|
|
6726
6726
|
skewY(sy?: number): DOMMatrix;
|
|
6727
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
6727
6728
|
toFloat32Array(): Float32Array;
|
|
6729
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
6728
6730
|
toFloat64Array(): Float64Array;
|
|
6729
6731
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
|
|
6730
6732
|
toJSON(): any;
|
|
6733
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
6731
6734
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
6732
6735
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
6733
6736
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -6799,6 +6802,7 @@ interface DOMPointReadOnly {
|
|
|
6799
6802
|
readonly y: number;
|
|
6800
6803
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
6801
6804
|
readonly z: number;
|
|
6805
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
6802
6806
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
6803
6807
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
6804
6808
|
toJSON(): any;
|
|
@@ -20273,7 +20277,9 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
|
|
|
20273
20277
|
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
|
|
20274
20278
|
/** @deprecated */
|
|
20275
20279
|
readonly className: any;
|
|
20280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement) */
|
|
20276
20281
|
readonly ownerSVGElement: SVGSVGElement | null;
|
|
20282
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement) */
|
|
20277
20283
|
readonly viewportElement: SVGElement | null;
|
|
20278
20284
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20279
20285
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21180,9 +21186,13 @@ declare var SVGLineElement: {
|
|
|
21180
21186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement)
|
|
21181
21187
|
*/
|
|
21182
21188
|
interface SVGLinearGradientElement extends SVGGradientElement {
|
|
21189
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1) */
|
|
21183
21190
|
readonly x1: SVGAnimatedLength;
|
|
21191
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2) */
|
|
21184
21192
|
readonly x2: SVGAnimatedLength;
|
|
21193
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1) */
|
|
21185
21194
|
readonly y1: SVGAnimatedLength;
|
|
21195
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2) */
|
|
21186
21196
|
readonly y2: SVGAnimatedLength;
|
|
21187
21197
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21188
21198
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21358,8 +21368,11 @@ declare var SVGPathElement: {
|
|
|
21358
21368
|
*/
|
|
21359
21369
|
interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {
|
|
21360
21370
|
readonly height: SVGAnimatedLength;
|
|
21371
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits) */
|
|
21361
21372
|
readonly patternContentUnits: SVGAnimatedEnumeration;
|
|
21373
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform) */
|
|
21362
21374
|
readonly patternTransform: SVGAnimatedTransformList;
|
|
21375
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits) */
|
|
21363
21376
|
readonly patternUnits: SVGAnimatedEnumeration;
|
|
21364
21377
|
readonly width: SVGAnimatedLength;
|
|
21365
21378
|
readonly x: SVGAnimatedLength;
|
|
@@ -21486,11 +21499,16 @@ declare var SVGPreserveAspectRatio: {
|
|
|
21486
21499
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement)
|
|
21487
21500
|
*/
|
|
21488
21501
|
interface SVGRadialGradientElement extends SVGGradientElement {
|
|
21502
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx) */
|
|
21489
21503
|
readonly cx: SVGAnimatedLength;
|
|
21504
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21490
21505
|
readonly cy: SVGAnimatedLength;
|
|
21491
21506
|
readonly fr: SVGAnimatedLength;
|
|
21507
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21492
21508
|
readonly fx: SVGAnimatedLength;
|
|
21509
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy) */
|
|
21493
21510
|
readonly fy: SVGAnimatedLength;
|
|
21511
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r) */
|
|
21494
21512
|
readonly r: SVGAnimatedLength;
|
|
21495
21513
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21496
21514
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21866,14 +21884,23 @@ declare var SVGTitleElement: {
|
|
|
21866
21884
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)
|
|
21867
21885
|
*/
|
|
21868
21886
|
interface SVGTransform {
|
|
21887
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle) */
|
|
21869
21888
|
readonly angle: number;
|
|
21889
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix) */
|
|
21870
21890
|
readonly matrix: DOMMatrix;
|
|
21891
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type) */
|
|
21871
21892
|
readonly type: number;
|
|
21893
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix) */
|
|
21872
21894
|
setMatrix(matrix?: DOMMatrix2DInit): void;
|
|
21895
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate) */
|
|
21873
21896
|
setRotate(angle: number, cx: number, cy: number): void;
|
|
21897
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale) */
|
|
21874
21898
|
setScale(sx: number, sy: number): void;
|
|
21899
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX) */
|
|
21875
21900
|
setSkewX(angle: number): void;
|
|
21901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY) */
|
|
21876
21902
|
setSkewY(angle: number): void;
|
|
21903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate) */
|
|
21877
21904
|
setTranslate(tx: number, ty: number): void;
|
|
21878
21905
|
readonly SVG_TRANSFORM_UNKNOWN: 0;
|
|
21879
21906
|
readonly SVG_TRANSFORM_MATRIX: 1;
|