@types/web 0.0.188 → 0.0.190
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 +86 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +86 -1
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.190 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.190.
|
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;
|
|
@@ -20073,7 +20077,9 @@ declare var SVGAnimatedNumberList: {
|
|
|
20073
20077
|
};
|
|
20074
20078
|
|
|
20075
20079
|
interface SVGAnimatedPoints {
|
|
20080
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/animatedPoints) */
|
|
20076
20081
|
readonly animatedPoints: SVGPointList;
|
|
20082
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/points) */
|
|
20077
20083
|
readonly points: SVGPointList;
|
|
20078
20084
|
}
|
|
20079
20085
|
|
|
@@ -20294,7 +20300,9 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
|
|
|
20294
20300
|
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
|
|
20295
20301
|
/** @deprecated */
|
|
20296
20302
|
readonly className: any;
|
|
20303
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement) */
|
|
20297
20304
|
readonly ownerSVGElement: SVGSVGElement | null;
|
|
20305
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement) */
|
|
20298
20306
|
readonly viewportElement: SVGElement | null;
|
|
20299
20307
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20300
20308
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20388,8 +20396,11 @@ declare var SVGFEBlendElement: {
|
|
|
20388
20396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement)
|
|
20389
20397
|
*/
|
|
20390
20398
|
interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20399
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) */
|
|
20391
20400
|
readonly in1: SVGAnimatedString;
|
|
20401
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) */
|
|
20392
20402
|
readonly type: SVGAnimatedEnumeration;
|
|
20403
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) */
|
|
20393
20404
|
readonly values: SVGAnimatedNumberList;
|
|
20394
20405
|
readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0;
|
|
20395
20406
|
readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;
|
|
@@ -20565,7 +20576,9 @@ declare var SVGFEDisplacementMapElement: {
|
|
|
20565
20576
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement)
|
|
20566
20577
|
*/
|
|
20567
20578
|
interface SVGFEDistantLightElement extends SVGElement {
|
|
20579
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/azimuth) */
|
|
20568
20580
|
readonly azimuth: SVGAnimatedNumber;
|
|
20581
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/elevation) */
|
|
20569
20582
|
readonly elevation: SVGAnimatedNumber;
|
|
20570
20583
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20571
20584
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20688,9 +20701,13 @@ declare var SVGFEFuncRElement: {
|
|
|
20688
20701
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement)
|
|
20689
20702
|
*/
|
|
20690
20703
|
interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20704
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/in1) */
|
|
20691
20705
|
readonly in1: SVGAnimatedString;
|
|
20706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX) */
|
|
20692
20707
|
readonly stdDeviationX: SVGAnimatedNumber;
|
|
20708
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY) */
|
|
20693
20709
|
readonly stdDeviationY: SVGAnimatedNumber;
|
|
20710
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation) */
|
|
20694
20711
|
setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;
|
|
20695
20712
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20696
20713
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20829,11 +20846,15 @@ declare var SVGFEPointLightElement: {
|
|
|
20829
20846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement)
|
|
20830
20847
|
*/
|
|
20831
20848
|
interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20849
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/in1) */
|
|
20832
20850
|
readonly in1: SVGAnimatedString;
|
|
20833
20851
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
20834
20852
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
20853
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant) */
|
|
20835
20854
|
readonly specularConstant: SVGAnimatedNumber;
|
|
20855
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularExponent) */
|
|
20836
20856
|
readonly specularExponent: SVGAnimatedNumber;
|
|
20857
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/surfaceScale) */
|
|
20837
20858
|
readonly surfaceScale: SVGAnimatedNumber;
|
|
20838
20859
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20839
20860
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20930,11 +20951,17 @@ declare var SVGFETurbulenceElement: {
|
|
|
20930
20951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
20931
20952
|
*/
|
|
20932
20953
|
interface SVGFilterElement extends SVGElement, SVGURIReference {
|
|
20954
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/filterUnits) */
|
|
20933
20955
|
readonly filterUnits: SVGAnimatedEnumeration;
|
|
20956
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/height) */
|
|
20934
20957
|
readonly height: SVGAnimatedLength;
|
|
20958
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/primitiveUnits) */
|
|
20935
20959
|
readonly primitiveUnits: SVGAnimatedEnumeration;
|
|
20960
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/width) */
|
|
20936
20961
|
readonly width: SVGAnimatedLength;
|
|
20962
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/x) */
|
|
20937
20963
|
readonly x: SVGAnimatedLength;
|
|
20964
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/y) */
|
|
20938
20965
|
readonly y: SVGAnimatedLength;
|
|
20939
20966
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20940
20967
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21029,8 +21056,11 @@ declare var SVGGeometryElement: {
|
|
|
21029
21056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement)
|
|
21030
21057
|
*/
|
|
21031
21058
|
interface SVGGradientElement extends SVGElement, SVGURIReference {
|
|
21059
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientTransform) */
|
|
21032
21060
|
readonly gradientTransform: SVGAnimatedTransformList;
|
|
21061
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientUnits) */
|
|
21033
21062
|
readonly gradientUnits: SVGAnimatedEnumeration;
|
|
21063
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/spreadMethod) */
|
|
21034
21064
|
readonly spreadMethod: SVGAnimatedEnumeration;
|
|
21035
21065
|
readonly SVG_SPREADMETHOD_UNKNOWN: 0;
|
|
21036
21066
|
readonly SVG_SPREADMETHOD_PAD: 1;
|
|
@@ -21201,9 +21231,13 @@ declare var SVGLineElement: {
|
|
|
21201
21231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement)
|
|
21202
21232
|
*/
|
|
21203
21233
|
interface SVGLinearGradientElement extends SVGGradientElement {
|
|
21234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1) */
|
|
21204
21235
|
readonly x1: SVGAnimatedLength;
|
|
21236
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2) */
|
|
21205
21237
|
readonly x2: SVGAnimatedLength;
|
|
21238
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1) */
|
|
21206
21239
|
readonly y1: SVGAnimatedLength;
|
|
21240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2) */
|
|
21207
21241
|
readonly y2: SVGAnimatedLength;
|
|
21208
21242
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21209
21243
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21338,14 +21372,23 @@ declare var SVGNumber: {
|
|
|
21338
21372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList)
|
|
21339
21373
|
*/
|
|
21340
21374
|
interface SVGNumberList {
|
|
21375
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/length) */
|
|
21341
21376
|
readonly length: number;
|
|
21377
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/numberOfItems) */
|
|
21342
21378
|
readonly numberOfItems: number;
|
|
21379
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/appendItem) */
|
|
21343
21380
|
appendItem(newItem: SVGNumber): SVGNumber;
|
|
21381
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/clear) */
|
|
21344
21382
|
clear(): void;
|
|
21383
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/getItem) */
|
|
21345
21384
|
getItem(index: number): SVGNumber;
|
|
21385
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/initialize) */
|
|
21346
21386
|
initialize(newItem: SVGNumber): SVGNumber;
|
|
21387
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/insertItemBefore) */
|
|
21347
21388
|
insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;
|
|
21389
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/removeItem) */
|
|
21348
21390
|
removeItem(index: number): SVGNumber;
|
|
21391
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/replaceItem) */
|
|
21349
21392
|
replaceItem(newItem: SVGNumber, index: number): SVGNumber;
|
|
21350
21393
|
[index: number]: SVGNumber;
|
|
21351
21394
|
}
|
|
@@ -21379,8 +21422,11 @@ declare var SVGPathElement: {
|
|
|
21379
21422
|
*/
|
|
21380
21423
|
interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {
|
|
21381
21424
|
readonly height: SVGAnimatedLength;
|
|
21425
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits) */
|
|
21382
21426
|
readonly patternContentUnits: SVGAnimatedEnumeration;
|
|
21427
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform) */
|
|
21383
21428
|
readonly patternTransform: SVGAnimatedTransformList;
|
|
21429
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits) */
|
|
21384
21430
|
readonly patternUnits: SVGAnimatedEnumeration;
|
|
21385
21431
|
readonly width: SVGAnimatedLength;
|
|
21386
21432
|
readonly x: SVGAnimatedLength;
|
|
@@ -21507,11 +21553,16 @@ declare var SVGPreserveAspectRatio: {
|
|
|
21507
21553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement)
|
|
21508
21554
|
*/
|
|
21509
21555
|
interface SVGRadialGradientElement extends SVGGradientElement {
|
|
21556
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx) */
|
|
21510
21557
|
readonly cx: SVGAnimatedLength;
|
|
21558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21511
21559
|
readonly cy: SVGAnimatedLength;
|
|
21512
21560
|
readonly fr: SVGAnimatedLength;
|
|
21561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21513
21562
|
readonly fx: SVGAnimatedLength;
|
|
21563
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy) */
|
|
21514
21564
|
readonly fy: SVGAnimatedLength;
|
|
21565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r) */
|
|
21515
21566
|
readonly r: SVGAnimatedLength;
|
|
21516
21567
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21517
21568
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21637,6 +21688,7 @@ declare var SVGSetElement: {
|
|
|
21637
21688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement)
|
|
21638
21689
|
*/
|
|
21639
21690
|
interface SVGStopElement extends SVGElement {
|
|
21691
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement/offset) */
|
|
21640
21692
|
readonly offset: SVGAnimatedNumber;
|
|
21641
21693
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21642
21694
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21764,15 +21816,25 @@ interface SVGTests {
|
|
|
21764
21816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement)
|
|
21765
21817
|
*/
|
|
21766
21818
|
interface SVGTextContentElement extends SVGGraphicsElement {
|
|
21819
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/lengthAdjust) */
|
|
21767
21820
|
readonly lengthAdjust: SVGAnimatedEnumeration;
|
|
21821
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/textLength) */
|
|
21768
21822
|
readonly textLength: SVGAnimatedLength;
|
|
21823
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getCharNumAtPosition) */
|
|
21769
21824
|
getCharNumAtPosition(point?: DOMPointInit): number;
|
|
21825
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getComputedTextLength) */
|
|
21770
21826
|
getComputedTextLength(): number;
|
|
21827
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar) */
|
|
21771
21828
|
getEndPositionOfChar(charnum: number): DOMPoint;
|
|
21829
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar) */
|
|
21772
21830
|
getExtentOfChar(charnum: number): DOMRect;
|
|
21831
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getNumberOfChars) */
|
|
21773
21832
|
getNumberOfChars(): number;
|
|
21833
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getRotationOfChar) */
|
|
21774
21834
|
getRotationOfChar(charnum: number): number;
|
|
21835
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar) */
|
|
21775
21836
|
getStartPositionOfChar(charnum: number): DOMPoint;
|
|
21837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getSubStringLength) */
|
|
21776
21838
|
getSubStringLength(charnum: number, nchars: number): number;
|
|
21777
21839
|
/** @deprecated */
|
|
21778
21840
|
selectSubString(charnum: number, nchars: number): void;
|
|
@@ -21816,8 +21878,11 @@ declare var SVGTextElement: {
|
|
|
21816
21878
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement)
|
|
21817
21879
|
*/
|
|
21818
21880
|
interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
|
|
21881
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */
|
|
21819
21882
|
readonly method: SVGAnimatedEnumeration;
|
|
21883
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/spacing) */
|
|
21820
21884
|
readonly spacing: SVGAnimatedEnumeration;
|
|
21885
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/startOffset) */
|
|
21821
21886
|
readonly startOffset: SVGAnimatedLength;
|
|
21822
21887
|
readonly TEXTPATH_METHODTYPE_UNKNOWN: 0;
|
|
21823
21888
|
readonly TEXTPATH_METHODTYPE_ALIGN: 1;
|
|
@@ -21887,14 +21952,23 @@ declare var SVGTitleElement: {
|
|
|
21887
21952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)
|
|
21888
21953
|
*/
|
|
21889
21954
|
interface SVGTransform {
|
|
21955
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle) */
|
|
21890
21956
|
readonly angle: number;
|
|
21957
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix) */
|
|
21891
21958
|
readonly matrix: DOMMatrix;
|
|
21959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type) */
|
|
21892
21960
|
readonly type: number;
|
|
21961
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix) */
|
|
21893
21962
|
setMatrix(matrix?: DOMMatrix2DInit): void;
|
|
21963
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate) */
|
|
21894
21964
|
setRotate(angle: number, cx: number, cy: number): void;
|
|
21965
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale) */
|
|
21895
21966
|
setScale(sx: number, sy: number): void;
|
|
21967
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX) */
|
|
21896
21968
|
setSkewX(angle: number): void;
|
|
21969
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY) */
|
|
21897
21970
|
setSkewY(angle: number): void;
|
|
21971
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate) */
|
|
21898
21972
|
setTranslate(tx: number, ty: number): void;
|
|
21899
21973
|
readonly SVG_TRANSFORM_UNKNOWN: 0;
|
|
21900
21974
|
readonly SVG_TRANSFORM_MATRIX: 1;
|
|
@@ -21923,16 +21997,27 @@ declare var SVGTransform: {
|
|
|
21923
21997
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList)
|
|
21924
21998
|
*/
|
|
21925
21999
|
interface SVGTransformList {
|
|
22000
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/length) */
|
|
21926
22001
|
readonly length: number;
|
|
22002
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/numberOfItems) */
|
|
21927
22003
|
readonly numberOfItems: number;
|
|
22004
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/appendItem) */
|
|
21928
22005
|
appendItem(newItem: SVGTransform): SVGTransform;
|
|
22006
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/clear) */
|
|
21929
22007
|
clear(): void;
|
|
22008
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/consolidate) */
|
|
21930
22009
|
consolidate(): SVGTransform | null;
|
|
22010
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix) */
|
|
21931
22011
|
createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;
|
|
22012
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/getItem) */
|
|
21932
22013
|
getItem(index: number): SVGTransform;
|
|
22014
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/initialize) */
|
|
21933
22015
|
initialize(newItem: SVGTransform): SVGTransform;
|
|
22016
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/insertItemBefore) */
|
|
21934
22017
|
insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;
|
|
22018
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/removeItem) */
|
|
21935
22019
|
removeItem(index: number): SVGTransform;
|
|
22020
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/replaceItem) */
|
|
21936
22021
|
replaceItem(newItem: SVGTransform, index: number): SVGTransform;
|
|
21937
22022
|
[index: number]: SVGTransform;
|
|
21938
22023
|
}
|
|
@@ -29343,7 +29428,7 @@ type OverSampleType = "2x" | "4x" | "none";
|
|
|
29343
29428
|
type PanningModelType = "HRTF" | "equalpower";
|
|
29344
29429
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
29345
29430
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
29346
|
-
type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
29431
|
+
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
29347
29432
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
29348
29433
|
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
|
|
29349
29434
|
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
|
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;
|
|
@@ -20052,7 +20056,9 @@ declare var SVGAnimatedNumberList: {
|
|
|
20052
20056
|
};
|
|
20053
20057
|
|
|
20054
20058
|
interface SVGAnimatedPoints {
|
|
20059
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/animatedPoints) */
|
|
20055
20060
|
readonly animatedPoints: SVGPointList;
|
|
20061
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/points) */
|
|
20056
20062
|
readonly points: SVGPointList;
|
|
20057
20063
|
}
|
|
20058
20064
|
|
|
@@ -20273,7 +20279,9 @@ interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMa
|
|
|
20273
20279
|
interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
|
|
20274
20280
|
/** @deprecated */
|
|
20275
20281
|
readonly className: any;
|
|
20282
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement) */
|
|
20276
20283
|
readonly ownerSVGElement: SVGSVGElement | null;
|
|
20284
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement) */
|
|
20277
20285
|
readonly viewportElement: SVGElement | null;
|
|
20278
20286
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20279
20287
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20367,8 +20375,11 @@ declare var SVGFEBlendElement: {
|
|
|
20367
20375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement)
|
|
20368
20376
|
*/
|
|
20369
20377
|
interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20378
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1) */
|
|
20370
20379
|
readonly in1: SVGAnimatedString;
|
|
20380
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type) */
|
|
20371
20381
|
readonly type: SVGAnimatedEnumeration;
|
|
20382
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values) */
|
|
20372
20383
|
readonly values: SVGAnimatedNumberList;
|
|
20373
20384
|
readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0;
|
|
20374
20385
|
readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;
|
|
@@ -20544,7 +20555,9 @@ declare var SVGFEDisplacementMapElement: {
|
|
|
20544
20555
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement)
|
|
20545
20556
|
*/
|
|
20546
20557
|
interface SVGFEDistantLightElement extends SVGElement {
|
|
20558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/azimuth) */
|
|
20547
20559
|
readonly azimuth: SVGAnimatedNumber;
|
|
20560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/elevation) */
|
|
20548
20561
|
readonly elevation: SVGAnimatedNumber;
|
|
20549
20562
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20550
20563
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20667,9 +20680,13 @@ declare var SVGFEFuncRElement: {
|
|
|
20667
20680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement)
|
|
20668
20681
|
*/
|
|
20669
20682
|
interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20683
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/in1) */
|
|
20670
20684
|
readonly in1: SVGAnimatedString;
|
|
20685
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX) */
|
|
20671
20686
|
readonly stdDeviationX: SVGAnimatedNumber;
|
|
20687
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY) */
|
|
20672
20688
|
readonly stdDeviationY: SVGAnimatedNumber;
|
|
20689
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation) */
|
|
20673
20690
|
setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;
|
|
20674
20691
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20675
20692
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20808,11 +20825,15 @@ declare var SVGFEPointLightElement: {
|
|
|
20808
20825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement)
|
|
20809
20826
|
*/
|
|
20810
20827
|
interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
20828
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/in1) */
|
|
20811
20829
|
readonly in1: SVGAnimatedString;
|
|
20812
20830
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
20813
20831
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
20832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant) */
|
|
20814
20833
|
readonly specularConstant: SVGAnimatedNumber;
|
|
20834
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularExponent) */
|
|
20815
20835
|
readonly specularExponent: SVGAnimatedNumber;
|
|
20836
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/surfaceScale) */
|
|
20816
20837
|
readonly surfaceScale: SVGAnimatedNumber;
|
|
20817
20838
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20818
20839
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20909,11 +20930,17 @@ declare var SVGFETurbulenceElement: {
|
|
|
20909
20930
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
20910
20931
|
*/
|
|
20911
20932
|
interface SVGFilterElement extends SVGElement, SVGURIReference {
|
|
20933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/filterUnits) */
|
|
20912
20934
|
readonly filterUnits: SVGAnimatedEnumeration;
|
|
20935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/height) */
|
|
20913
20936
|
readonly height: SVGAnimatedLength;
|
|
20937
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/primitiveUnits) */
|
|
20914
20938
|
readonly primitiveUnits: SVGAnimatedEnumeration;
|
|
20939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/width) */
|
|
20915
20940
|
readonly width: SVGAnimatedLength;
|
|
20941
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/x) */
|
|
20916
20942
|
readonly x: SVGAnimatedLength;
|
|
20943
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/y) */
|
|
20917
20944
|
readonly y: SVGAnimatedLength;
|
|
20918
20945
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
20919
20946
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21008,8 +21035,11 @@ declare var SVGGeometryElement: {
|
|
|
21008
21035
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement)
|
|
21009
21036
|
*/
|
|
21010
21037
|
interface SVGGradientElement extends SVGElement, SVGURIReference {
|
|
21038
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientTransform) */
|
|
21011
21039
|
readonly gradientTransform: SVGAnimatedTransformList;
|
|
21040
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientUnits) */
|
|
21012
21041
|
readonly gradientUnits: SVGAnimatedEnumeration;
|
|
21042
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/spreadMethod) */
|
|
21013
21043
|
readonly spreadMethod: SVGAnimatedEnumeration;
|
|
21014
21044
|
readonly SVG_SPREADMETHOD_UNKNOWN: 0;
|
|
21015
21045
|
readonly SVG_SPREADMETHOD_PAD: 1;
|
|
@@ -21180,9 +21210,13 @@ declare var SVGLineElement: {
|
|
|
21180
21210
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement)
|
|
21181
21211
|
*/
|
|
21182
21212
|
interface SVGLinearGradientElement extends SVGGradientElement {
|
|
21213
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1) */
|
|
21183
21214
|
readonly x1: SVGAnimatedLength;
|
|
21215
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2) */
|
|
21184
21216
|
readonly x2: SVGAnimatedLength;
|
|
21217
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1) */
|
|
21185
21218
|
readonly y1: SVGAnimatedLength;
|
|
21219
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2) */
|
|
21186
21220
|
readonly y2: SVGAnimatedLength;
|
|
21187
21221
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21188
21222
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21317,14 +21351,23 @@ declare var SVGNumber: {
|
|
|
21317
21351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList)
|
|
21318
21352
|
*/
|
|
21319
21353
|
interface SVGNumberList {
|
|
21354
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/length) */
|
|
21320
21355
|
readonly length: number;
|
|
21356
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/numberOfItems) */
|
|
21321
21357
|
readonly numberOfItems: number;
|
|
21358
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/appendItem) */
|
|
21322
21359
|
appendItem(newItem: SVGNumber): SVGNumber;
|
|
21360
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/clear) */
|
|
21323
21361
|
clear(): void;
|
|
21362
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/getItem) */
|
|
21324
21363
|
getItem(index: number): SVGNumber;
|
|
21364
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/initialize) */
|
|
21325
21365
|
initialize(newItem: SVGNumber): SVGNumber;
|
|
21366
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/insertItemBefore) */
|
|
21326
21367
|
insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;
|
|
21368
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/removeItem) */
|
|
21327
21369
|
removeItem(index: number): SVGNumber;
|
|
21370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/replaceItem) */
|
|
21328
21371
|
replaceItem(newItem: SVGNumber, index: number): SVGNumber;
|
|
21329
21372
|
[index: number]: SVGNumber;
|
|
21330
21373
|
}
|
|
@@ -21358,8 +21401,11 @@ declare var SVGPathElement: {
|
|
|
21358
21401
|
*/
|
|
21359
21402
|
interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {
|
|
21360
21403
|
readonly height: SVGAnimatedLength;
|
|
21404
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits) */
|
|
21361
21405
|
readonly patternContentUnits: SVGAnimatedEnumeration;
|
|
21406
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform) */
|
|
21362
21407
|
readonly patternTransform: SVGAnimatedTransformList;
|
|
21408
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits) */
|
|
21363
21409
|
readonly patternUnits: SVGAnimatedEnumeration;
|
|
21364
21410
|
readonly width: SVGAnimatedLength;
|
|
21365
21411
|
readonly x: SVGAnimatedLength;
|
|
@@ -21486,11 +21532,16 @@ declare var SVGPreserveAspectRatio: {
|
|
|
21486
21532
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement)
|
|
21487
21533
|
*/
|
|
21488
21534
|
interface SVGRadialGradientElement extends SVGGradientElement {
|
|
21535
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx) */
|
|
21489
21536
|
readonly cx: SVGAnimatedLength;
|
|
21537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21490
21538
|
readonly cy: SVGAnimatedLength;
|
|
21491
21539
|
readonly fr: SVGAnimatedLength;
|
|
21540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21492
21541
|
readonly fx: SVGAnimatedLength;
|
|
21542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy) */
|
|
21493
21543
|
readonly fy: SVGAnimatedLength;
|
|
21544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r) */
|
|
21494
21545
|
readonly r: SVGAnimatedLength;
|
|
21495
21546
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21496
21547
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21616,6 +21667,7 @@ declare var SVGSetElement: {
|
|
|
21616
21667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement)
|
|
21617
21668
|
*/
|
|
21618
21669
|
interface SVGStopElement extends SVGElement {
|
|
21670
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement/offset) */
|
|
21619
21671
|
readonly offset: SVGAnimatedNumber;
|
|
21620
21672
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21621
21673
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21743,15 +21795,25 @@ interface SVGTests {
|
|
|
21743
21795
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement)
|
|
21744
21796
|
*/
|
|
21745
21797
|
interface SVGTextContentElement extends SVGGraphicsElement {
|
|
21798
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/lengthAdjust) */
|
|
21746
21799
|
readonly lengthAdjust: SVGAnimatedEnumeration;
|
|
21800
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/textLength) */
|
|
21747
21801
|
readonly textLength: SVGAnimatedLength;
|
|
21802
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getCharNumAtPosition) */
|
|
21748
21803
|
getCharNumAtPosition(point?: DOMPointInit): number;
|
|
21804
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getComputedTextLength) */
|
|
21749
21805
|
getComputedTextLength(): number;
|
|
21806
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar) */
|
|
21750
21807
|
getEndPositionOfChar(charnum: number): DOMPoint;
|
|
21808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar) */
|
|
21751
21809
|
getExtentOfChar(charnum: number): DOMRect;
|
|
21810
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getNumberOfChars) */
|
|
21752
21811
|
getNumberOfChars(): number;
|
|
21812
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getRotationOfChar) */
|
|
21753
21813
|
getRotationOfChar(charnum: number): number;
|
|
21814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar) */
|
|
21754
21815
|
getStartPositionOfChar(charnum: number): DOMPoint;
|
|
21816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getSubStringLength) */
|
|
21755
21817
|
getSubStringLength(charnum: number, nchars: number): number;
|
|
21756
21818
|
/** @deprecated */
|
|
21757
21819
|
selectSubString(charnum: number, nchars: number): void;
|
|
@@ -21795,8 +21857,11 @@ declare var SVGTextElement: {
|
|
|
21795
21857
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement)
|
|
21796
21858
|
*/
|
|
21797
21859
|
interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
|
|
21860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method) */
|
|
21798
21861
|
readonly method: SVGAnimatedEnumeration;
|
|
21862
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/spacing) */
|
|
21799
21863
|
readonly spacing: SVGAnimatedEnumeration;
|
|
21864
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/startOffset) */
|
|
21800
21865
|
readonly startOffset: SVGAnimatedLength;
|
|
21801
21866
|
readonly TEXTPATH_METHODTYPE_UNKNOWN: 0;
|
|
21802
21867
|
readonly TEXTPATH_METHODTYPE_ALIGN: 1;
|
|
@@ -21866,14 +21931,23 @@ declare var SVGTitleElement: {
|
|
|
21866
21931
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)
|
|
21867
21932
|
*/
|
|
21868
21933
|
interface SVGTransform {
|
|
21934
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle) */
|
|
21869
21935
|
readonly angle: number;
|
|
21936
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix) */
|
|
21870
21937
|
readonly matrix: DOMMatrix;
|
|
21938
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type) */
|
|
21871
21939
|
readonly type: number;
|
|
21940
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix) */
|
|
21872
21941
|
setMatrix(matrix?: DOMMatrix2DInit): void;
|
|
21942
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate) */
|
|
21873
21943
|
setRotate(angle: number, cx: number, cy: number): void;
|
|
21944
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale) */
|
|
21874
21945
|
setScale(sx: number, sy: number): void;
|
|
21946
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX) */
|
|
21875
21947
|
setSkewX(angle: number): void;
|
|
21948
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY) */
|
|
21876
21949
|
setSkewY(angle: number): void;
|
|
21950
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate) */
|
|
21877
21951
|
setTranslate(tx: number, ty: number): void;
|
|
21878
21952
|
readonly SVG_TRANSFORM_UNKNOWN: 0;
|
|
21879
21953
|
readonly SVG_TRANSFORM_MATRIX: 1;
|
|
@@ -21902,16 +21976,27 @@ declare var SVGTransform: {
|
|
|
21902
21976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList)
|
|
21903
21977
|
*/
|
|
21904
21978
|
interface SVGTransformList {
|
|
21979
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/length) */
|
|
21905
21980
|
readonly length: number;
|
|
21981
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/numberOfItems) */
|
|
21906
21982
|
readonly numberOfItems: number;
|
|
21983
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/appendItem) */
|
|
21907
21984
|
appendItem(newItem: SVGTransform): SVGTransform;
|
|
21985
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/clear) */
|
|
21908
21986
|
clear(): void;
|
|
21987
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/consolidate) */
|
|
21909
21988
|
consolidate(): SVGTransform | null;
|
|
21989
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix) */
|
|
21910
21990
|
createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;
|
|
21991
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/getItem) */
|
|
21911
21992
|
getItem(index: number): SVGTransform;
|
|
21993
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/initialize) */
|
|
21912
21994
|
initialize(newItem: SVGTransform): SVGTransform;
|
|
21995
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/insertItemBefore) */
|
|
21913
21996
|
insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;
|
|
21997
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/removeItem) */
|
|
21914
21998
|
removeItem(index: number): SVGTransform;
|
|
21999
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/replaceItem) */
|
|
21915
22000
|
replaceItem(newItem: SVGTransform, index: number): SVGTransform;
|
|
21916
22001
|
[index: number]: SVGTransform;
|
|
21917
22002
|
}
|
|
@@ -29321,7 +29406,7 @@ type OverSampleType = "2x" | "4x" | "none";
|
|
|
29321
29406
|
type PanningModelType = "HRTF" | "equalpower";
|
|
29322
29407
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
29323
29408
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
29324
|
-
type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
29409
|
+
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
29325
29410
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
29326
29411
|
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
|
|
29327
29412
|
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
|