@types/web 0.0.354 → 0.0.355
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 +30 -30
- package/package.json +1 -1
- package/ts5.5/index.d.ts +29 -29
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +29 -29
- package/ts5.6/iterable.d.ts +1 -1
- package/ts5.9/index.d.ts +29 -29
- package/ts5.9/iterable.d.ts +1 -1
package/README.md
CHANGED
|
@@ -49,4 +49,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
49
49
|
|
|
50
50
|
## Deploy Metadata
|
|
51
51
|
|
|
52
|
-
You can read what changed in version 0.0.
|
|
52
|
+
You can read what changed in version 0.0.355 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.355.
|
package/index.d.ts
CHANGED
|
@@ -1403,7 +1403,7 @@ interface Keyframe {
|
|
|
1403
1403
|
composite?: CompositeOperationOrAuto;
|
|
1404
1404
|
easing?: string;
|
|
1405
1405
|
offset?: number | null;
|
|
1406
|
-
[property: string]: string | number | null | undefined;
|
|
1406
|
+
[property: string]: string | number | CSSStyleValue | null | undefined;
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
1409
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
@@ -2032,7 +2032,7 @@ interface PropertyIndexedKeyframes {
|
|
|
2032
2032
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
2033
2033
|
easing?: string | string[];
|
|
2034
2034
|
offset?: number | (number | null)[];
|
|
2035
|
-
[property: string]: string | string[] | number | null | (number | null)[] | undefined;
|
|
2035
|
+
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
2038
|
interface PublicKeyCredentialCreationOptions {
|
|
@@ -31818,13 +31818,13 @@ interface SVGAnimatedRect {
|
|
|
31818
31818
|
*
|
|
31819
31819
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)
|
|
31820
31820
|
*/
|
|
31821
|
-
readonly animVal:
|
|
31821
|
+
readonly animVal: SVGRect;
|
|
31822
31822
|
/**
|
|
31823
31823
|
* The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
|
|
31824
31824
|
*
|
|
31825
31825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)
|
|
31826
31826
|
*/
|
|
31827
|
-
readonly baseVal:
|
|
31827
|
+
readonly baseVal: SVGRect;
|
|
31828
31828
|
}
|
|
31829
31829
|
|
|
31830
31830
|
declare var SVGAnimatedRect: {
|
|
@@ -33201,7 +33201,7 @@ declare var SVGFETurbulenceElement: {
|
|
|
33201
33201
|
*
|
|
33202
33202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
33203
33203
|
*/
|
|
33204
|
-
interface SVGFilterElement extends SVGElement
|
|
33204
|
+
interface SVGFilterElement extends SVGElement {
|
|
33205
33205
|
/**
|
|
33206
33206
|
* The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given <filter> element. It takes one of the SVG_UNIT_TYPE_* constants defined in SVGUnitTypes.
|
|
33207
33207
|
*
|
|
@@ -33344,7 +33344,7 @@ interface SVGGeometryElement extends SVGGraphicsElement {
|
|
|
33344
33344
|
*
|
|
33345
33345
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)
|
|
33346
33346
|
*/
|
|
33347
|
-
getPointAtLength(distance: number):
|
|
33347
|
+
getPointAtLength(distance: number): SVGPoint;
|
|
33348
33348
|
/**
|
|
33349
33349
|
* The **`SVGGeometryElement.getTotalLength()`** method returns the user agent's computed value for the total length of the path in user units.
|
|
33350
33350
|
*
|
|
@@ -33434,19 +33434,19 @@ interface SVGGraphicsElement extends SVGElement, SVGTests {
|
|
|
33434
33434
|
*
|
|
33435
33435
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)
|
|
33436
33436
|
*/
|
|
33437
|
-
getBBox(options?: SVGBoundingBoxOptions):
|
|
33437
|
+
getBBox(options?: SVGBoundingBoxOptions): SVGRect;
|
|
33438
33438
|
/**
|
|
33439
33439
|
* The **`getCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.
|
|
33440
33440
|
*
|
|
33441
33441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)
|
|
33442
33442
|
*/
|
|
33443
|
-
getCTM():
|
|
33443
|
+
getCTM(): SVGMatrix | null;
|
|
33444
33444
|
/**
|
|
33445
33445
|
* The **`getScreenCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
|
|
33446
33446
|
*
|
|
33447
33447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)
|
|
33448
33448
|
*/
|
|
33449
|
-
getScreenCTM():
|
|
33449
|
+
getScreenCTM(): SVGMatrix | null;
|
|
33450
33450
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
33451
33451
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
33452
33452
|
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -34108,7 +34108,7 @@ interface SVGPointList {
|
|
|
34108
34108
|
*
|
|
34109
34109
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
|
|
34110
34110
|
*/
|
|
34111
|
-
appendItem(newItem:
|
|
34111
|
+
appendItem(newItem: SVGPoint): SVGPoint;
|
|
34112
34112
|
/**
|
|
34113
34113
|
* The **`clear()`** method of the SVGPointList interface removes all items from the list.
|
|
34114
34114
|
*
|
|
@@ -34120,32 +34120,32 @@ interface SVGPointList {
|
|
|
34120
34120
|
*
|
|
34121
34121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)
|
|
34122
34122
|
*/
|
|
34123
|
-
getItem(index: number):
|
|
34123
|
+
getItem(index: number): SVGPoint;
|
|
34124
34124
|
/**
|
|
34125
34125
|
* The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
|
|
34126
34126
|
*
|
|
34127
34127
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
|
|
34128
34128
|
*/
|
|
34129
|
-
initialize(newItem:
|
|
34129
|
+
initialize(newItem: SVGPoint): SVGPoint;
|
|
34130
34130
|
/**
|
|
34131
34131
|
* The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
|
|
34132
34132
|
*
|
|
34133
34133
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
|
|
34134
34134
|
*/
|
|
34135
|
-
insertItemBefore(newItem:
|
|
34135
|
+
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
|
|
34136
34136
|
/**
|
|
34137
34137
|
* The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
|
|
34138
34138
|
*
|
|
34139
34139
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
|
|
34140
34140
|
*/
|
|
34141
|
-
removeItem(index: number):
|
|
34141
|
+
removeItem(index: number): SVGPoint;
|
|
34142
34142
|
/**
|
|
34143
34143
|
* The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
|
|
34144
34144
|
*
|
|
34145
34145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
|
|
34146
34146
|
*/
|
|
34147
|
-
replaceItem(newItem:
|
|
34148
|
-
[index: number]:
|
|
34147
|
+
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
|
|
34148
|
+
[index: number]: SVGPoint;
|
|
34149
34149
|
}
|
|
34150
34150
|
|
|
34151
34151
|
declare var SVGPointList: {
|
|
@@ -34366,7 +34366,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34366
34366
|
*
|
|
34367
34367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)
|
|
34368
34368
|
*/
|
|
34369
|
-
readonly currentTranslate:
|
|
34369
|
+
readonly currentTranslate: SVGPoint;
|
|
34370
34370
|
/**
|
|
34371
34371
|
* The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength. It reflects the <svg> element's height attribute, which may not be the SVG's rendered height.
|
|
34372
34372
|
*
|
|
@@ -34402,13 +34402,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34402
34402
|
*
|
|
34403
34403
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)
|
|
34404
34404
|
*/
|
|
34405
|
-
checkEnclosure(element: SVGElement, rect:
|
|
34405
|
+
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
|
|
34406
34406
|
/**
|
|
34407
34407
|
* The **`checkIntersection()`** method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.
|
|
34408
34408
|
*
|
|
34409
34409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)
|
|
34410
34410
|
*/
|
|
34411
|
-
checkIntersection(element: SVGElement, rect:
|
|
34411
|
+
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
|
|
34412
34412
|
/**
|
|
34413
34413
|
* The **`createSVGAngle()`** method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.
|
|
34414
34414
|
*
|
|
@@ -34426,7 +34426,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34426
34426
|
*
|
|
34427
34427
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)
|
|
34428
34428
|
*/
|
|
34429
|
-
createSVGMatrix():
|
|
34429
|
+
createSVGMatrix(): SVGMatrix;
|
|
34430
34430
|
/**
|
|
34431
34431
|
* The **`createSVGNumber()`** method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.
|
|
34432
34432
|
*
|
|
@@ -34438,13 +34438,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34438
34438
|
*
|
|
34439
34439
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
|
|
34440
34440
|
*/
|
|
34441
|
-
createSVGPoint():
|
|
34441
|
+
createSVGPoint(): SVGPoint;
|
|
34442
34442
|
/**
|
|
34443
34443
|
* The **`createSVGRect()`** method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
34444
34444
|
*
|
|
34445
34445
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
34446
34446
|
*/
|
|
34447
|
-
createSVGRect():
|
|
34447
|
+
createSVGRect(): SVGRect;
|
|
34448
34448
|
/**
|
|
34449
34449
|
* The **`createSVGTransform()`** method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.
|
|
34450
34450
|
*
|
|
@@ -34477,8 +34477,8 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34477
34477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)
|
|
34478
34478
|
*/
|
|
34479
34479
|
getElementById(elementId: string): Element | null;
|
|
34480
|
-
getEnclosureList(rect:
|
|
34481
|
-
getIntersectionList(rect:
|
|
34480
|
+
getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34481
|
+
getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34482
34482
|
/**
|
|
34483
34483
|
* The **`pauseAnimations()`** method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this <svg> element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.
|
|
34484
34484
|
*
|
|
@@ -34780,13 +34780,13 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34780
34780
|
*
|
|
34781
34781
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)
|
|
34782
34782
|
*/
|
|
34783
|
-
getEndPositionOfChar(charnum: number):
|
|
34783
|
+
getEndPositionOfChar(charnum: number): SVGPoint;
|
|
34784
34784
|
/**
|
|
34785
34785
|
* The **`getExtentOfChar()`** method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.
|
|
34786
34786
|
*
|
|
34787
34787
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)
|
|
34788
34788
|
*/
|
|
34789
|
-
getExtentOfChar(charnum: number):
|
|
34789
|
+
getExtentOfChar(charnum: number): SVGRect;
|
|
34790
34790
|
/**
|
|
34791
34791
|
* The **`getNumberOfChars()`** method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.
|
|
34792
34792
|
*
|
|
@@ -34804,7 +34804,7 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34804
34804
|
*
|
|
34805
34805
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)
|
|
34806
34806
|
*/
|
|
34807
|
-
getStartPositionOfChar(charnum: number):
|
|
34807
|
+
getStartPositionOfChar(charnum: number): SVGPoint;
|
|
34808
34808
|
/**
|
|
34809
34809
|
* The **`getSubStringLength()`** method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.
|
|
34810
34810
|
*
|
|
@@ -34975,7 +34975,7 @@ interface SVGTransform {
|
|
|
34975
34975
|
*
|
|
34976
34976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
|
|
34977
34977
|
*/
|
|
34978
|
-
readonly matrix:
|
|
34978
|
+
readonly matrix: SVGMatrix;
|
|
34979
34979
|
/**
|
|
34980
34980
|
* The **`type`** read-only property of the SVGTransform interface represents the type of transformation applied, specified by one of the SVG_TRANSFORM_* constants defined on this interface.
|
|
34981
34981
|
*
|
|
@@ -45220,7 +45220,7 @@ type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
|
45220
45220
|
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
45221
45221
|
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
45222
45222
|
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
45223
|
-
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45223
|
+
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm10-10-10-2" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45224
45224
|
type GPUVertexStepMode = "instance" | "vertex";
|
|
45225
45225
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
45226
45226
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
@@ -45743,7 +45743,7 @@ interface SVGNumberList {
|
|
|
45743
45743
|
}
|
|
45744
45744
|
|
|
45745
45745
|
interface SVGPointList {
|
|
45746
|
-
[Symbol.iterator](): ArrayIterator<
|
|
45746
|
+
[Symbol.iterator](): ArrayIterator<SVGPoint>;
|
|
45747
45747
|
}
|
|
45748
45748
|
|
|
45749
45749
|
interface SVGStringList {
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1400,7 +1400,7 @@ interface Keyframe {
|
|
|
1400
1400
|
composite?: CompositeOperationOrAuto;
|
|
1401
1401
|
easing?: string;
|
|
1402
1402
|
offset?: number | null;
|
|
1403
|
-
[property: string]: string | number | null | undefined;
|
|
1403
|
+
[property: string]: string | number | CSSStyleValue | null | undefined;
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
@@ -2029,7 +2029,7 @@ interface PropertyIndexedKeyframes {
|
|
|
2029
2029
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
2030
2030
|
easing?: string | string[];
|
|
2031
2031
|
offset?: number | (number | null)[];
|
|
2032
|
-
[property: string]: string | string[] | number | null | (number | null)[] | undefined;
|
|
2032
|
+
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
2035
2035
|
interface PublicKeyCredentialCreationOptions {
|
|
@@ -31793,13 +31793,13 @@ interface SVGAnimatedRect {
|
|
|
31793
31793
|
*
|
|
31794
31794
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)
|
|
31795
31795
|
*/
|
|
31796
|
-
readonly animVal:
|
|
31796
|
+
readonly animVal: SVGRect;
|
|
31797
31797
|
/**
|
|
31798
31798
|
* The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
|
|
31799
31799
|
*
|
|
31800
31800
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)
|
|
31801
31801
|
*/
|
|
31802
|
-
readonly baseVal:
|
|
31802
|
+
readonly baseVal: SVGRect;
|
|
31803
31803
|
}
|
|
31804
31804
|
|
|
31805
31805
|
declare var SVGAnimatedRect: {
|
|
@@ -33176,7 +33176,7 @@ declare var SVGFETurbulenceElement: {
|
|
|
33176
33176
|
*
|
|
33177
33177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
33178
33178
|
*/
|
|
33179
|
-
interface SVGFilterElement extends SVGElement
|
|
33179
|
+
interface SVGFilterElement extends SVGElement {
|
|
33180
33180
|
/**
|
|
33181
33181
|
* The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given <filter> element. It takes one of the SVG_UNIT_TYPE_* constants defined in SVGUnitTypes.
|
|
33182
33182
|
*
|
|
@@ -33319,7 +33319,7 @@ interface SVGGeometryElement extends SVGGraphicsElement {
|
|
|
33319
33319
|
*
|
|
33320
33320
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)
|
|
33321
33321
|
*/
|
|
33322
|
-
getPointAtLength(distance: number):
|
|
33322
|
+
getPointAtLength(distance: number): SVGPoint;
|
|
33323
33323
|
/**
|
|
33324
33324
|
* The **`SVGGeometryElement.getTotalLength()`** method returns the user agent's computed value for the total length of the path in user units.
|
|
33325
33325
|
*
|
|
@@ -33409,19 +33409,19 @@ interface SVGGraphicsElement extends SVGElement, SVGTests {
|
|
|
33409
33409
|
*
|
|
33410
33410
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)
|
|
33411
33411
|
*/
|
|
33412
|
-
getBBox(options?: SVGBoundingBoxOptions):
|
|
33412
|
+
getBBox(options?: SVGBoundingBoxOptions): SVGRect;
|
|
33413
33413
|
/**
|
|
33414
33414
|
* The **`getCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.
|
|
33415
33415
|
*
|
|
33416
33416
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)
|
|
33417
33417
|
*/
|
|
33418
|
-
getCTM():
|
|
33418
|
+
getCTM(): SVGMatrix | null;
|
|
33419
33419
|
/**
|
|
33420
33420
|
* The **`getScreenCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
|
|
33421
33421
|
*
|
|
33422
33422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)
|
|
33423
33423
|
*/
|
|
33424
|
-
getScreenCTM():
|
|
33424
|
+
getScreenCTM(): SVGMatrix | null;
|
|
33425
33425
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
33426
33426
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
33427
33427
|
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -34083,7 +34083,7 @@ interface SVGPointList {
|
|
|
34083
34083
|
*
|
|
34084
34084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
|
|
34085
34085
|
*/
|
|
34086
|
-
appendItem(newItem:
|
|
34086
|
+
appendItem(newItem: SVGPoint): SVGPoint;
|
|
34087
34087
|
/**
|
|
34088
34088
|
* The **`clear()`** method of the SVGPointList interface removes all items from the list.
|
|
34089
34089
|
*
|
|
@@ -34095,32 +34095,32 @@ interface SVGPointList {
|
|
|
34095
34095
|
*
|
|
34096
34096
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)
|
|
34097
34097
|
*/
|
|
34098
|
-
getItem(index: number):
|
|
34098
|
+
getItem(index: number): SVGPoint;
|
|
34099
34099
|
/**
|
|
34100
34100
|
* The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
|
|
34101
34101
|
*
|
|
34102
34102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
|
|
34103
34103
|
*/
|
|
34104
|
-
initialize(newItem:
|
|
34104
|
+
initialize(newItem: SVGPoint): SVGPoint;
|
|
34105
34105
|
/**
|
|
34106
34106
|
* The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
|
|
34107
34107
|
*
|
|
34108
34108
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
|
|
34109
34109
|
*/
|
|
34110
|
-
insertItemBefore(newItem:
|
|
34110
|
+
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
|
|
34111
34111
|
/**
|
|
34112
34112
|
* The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
|
|
34113
34113
|
*
|
|
34114
34114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
|
|
34115
34115
|
*/
|
|
34116
|
-
removeItem(index: number):
|
|
34116
|
+
removeItem(index: number): SVGPoint;
|
|
34117
34117
|
/**
|
|
34118
34118
|
* The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
|
|
34119
34119
|
*
|
|
34120
34120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
|
|
34121
34121
|
*/
|
|
34122
|
-
replaceItem(newItem:
|
|
34123
|
-
[index: number]:
|
|
34122
|
+
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
|
|
34123
|
+
[index: number]: SVGPoint;
|
|
34124
34124
|
}
|
|
34125
34125
|
|
|
34126
34126
|
declare var SVGPointList: {
|
|
@@ -34341,7 +34341,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34341
34341
|
*
|
|
34342
34342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)
|
|
34343
34343
|
*/
|
|
34344
|
-
readonly currentTranslate:
|
|
34344
|
+
readonly currentTranslate: SVGPoint;
|
|
34345
34345
|
/**
|
|
34346
34346
|
* The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength. It reflects the <svg> element's height attribute, which may not be the SVG's rendered height.
|
|
34347
34347
|
*
|
|
@@ -34377,13 +34377,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34377
34377
|
*
|
|
34378
34378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)
|
|
34379
34379
|
*/
|
|
34380
|
-
checkEnclosure(element: SVGElement, rect:
|
|
34380
|
+
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
|
|
34381
34381
|
/**
|
|
34382
34382
|
* The **`checkIntersection()`** method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.
|
|
34383
34383
|
*
|
|
34384
34384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)
|
|
34385
34385
|
*/
|
|
34386
|
-
checkIntersection(element: SVGElement, rect:
|
|
34386
|
+
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
|
|
34387
34387
|
/**
|
|
34388
34388
|
* The **`createSVGAngle()`** method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.
|
|
34389
34389
|
*
|
|
@@ -34401,7 +34401,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34401
34401
|
*
|
|
34402
34402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)
|
|
34403
34403
|
*/
|
|
34404
|
-
createSVGMatrix():
|
|
34404
|
+
createSVGMatrix(): SVGMatrix;
|
|
34405
34405
|
/**
|
|
34406
34406
|
* The **`createSVGNumber()`** method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.
|
|
34407
34407
|
*
|
|
@@ -34413,13 +34413,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34413
34413
|
*
|
|
34414
34414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
|
|
34415
34415
|
*/
|
|
34416
|
-
createSVGPoint():
|
|
34416
|
+
createSVGPoint(): SVGPoint;
|
|
34417
34417
|
/**
|
|
34418
34418
|
* The **`createSVGRect()`** method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
34419
34419
|
*
|
|
34420
34420
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
34421
34421
|
*/
|
|
34422
|
-
createSVGRect():
|
|
34422
|
+
createSVGRect(): SVGRect;
|
|
34423
34423
|
/**
|
|
34424
34424
|
* The **`createSVGTransform()`** method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.
|
|
34425
34425
|
*
|
|
@@ -34452,8 +34452,8 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34452
34452
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)
|
|
34453
34453
|
*/
|
|
34454
34454
|
getElementById(elementId: string): Element | null;
|
|
34455
|
-
getEnclosureList(rect:
|
|
34456
|
-
getIntersectionList(rect:
|
|
34455
|
+
getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34456
|
+
getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34457
34457
|
/**
|
|
34458
34458
|
* The **`pauseAnimations()`** method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this <svg> element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.
|
|
34459
34459
|
*
|
|
@@ -34755,13 +34755,13 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34755
34755
|
*
|
|
34756
34756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)
|
|
34757
34757
|
*/
|
|
34758
|
-
getEndPositionOfChar(charnum: number):
|
|
34758
|
+
getEndPositionOfChar(charnum: number): SVGPoint;
|
|
34759
34759
|
/**
|
|
34760
34760
|
* The **`getExtentOfChar()`** method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.
|
|
34761
34761
|
*
|
|
34762
34762
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)
|
|
34763
34763
|
*/
|
|
34764
|
-
getExtentOfChar(charnum: number):
|
|
34764
|
+
getExtentOfChar(charnum: number): SVGRect;
|
|
34765
34765
|
/**
|
|
34766
34766
|
* The **`getNumberOfChars()`** method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.
|
|
34767
34767
|
*
|
|
@@ -34779,7 +34779,7 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34779
34779
|
*
|
|
34780
34780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)
|
|
34781
34781
|
*/
|
|
34782
|
-
getStartPositionOfChar(charnum: number):
|
|
34782
|
+
getStartPositionOfChar(charnum: number): SVGPoint;
|
|
34783
34783
|
/**
|
|
34784
34784
|
* The **`getSubStringLength()`** method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.
|
|
34785
34785
|
*
|
|
@@ -34950,7 +34950,7 @@ interface SVGTransform {
|
|
|
34950
34950
|
*
|
|
34951
34951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
|
|
34952
34952
|
*/
|
|
34953
|
-
readonly matrix:
|
|
34953
|
+
readonly matrix: SVGMatrix;
|
|
34954
34954
|
/**
|
|
34955
34955
|
* The **`type`** read-only property of the SVGTransform interface represents the type of transformation applied, specified by one of the SVG_TRANSFORM_* constants defined on this interface.
|
|
34956
34956
|
*
|
|
@@ -45194,7 +45194,7 @@ type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
|
45194
45194
|
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
45195
45195
|
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
45196
45196
|
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
45197
|
-
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45197
|
+
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm10-10-10-2" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45198
45198
|
type GPUVertexStepMode = "instance" | "vertex";
|
|
45199
45199
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
45200
45200
|
type GamepadHapticsResult = "complete" | "preempted";
|
package/ts5.5/iterable.d.ts
CHANGED
package/ts5.6/index.d.ts
CHANGED
|
@@ -1400,7 +1400,7 @@ interface Keyframe {
|
|
|
1400
1400
|
composite?: CompositeOperationOrAuto;
|
|
1401
1401
|
easing?: string;
|
|
1402
1402
|
offset?: number | null;
|
|
1403
|
-
[property: string]: string | number | null | undefined;
|
|
1403
|
+
[property: string]: string | number | CSSStyleValue | null | undefined;
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
@@ -2029,7 +2029,7 @@ interface PropertyIndexedKeyframes {
|
|
|
2029
2029
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
2030
2030
|
easing?: string | string[];
|
|
2031
2031
|
offset?: number | (number | null)[];
|
|
2032
|
-
[property: string]: string | string[] | number | null | (number | null)[] | undefined;
|
|
2032
|
+
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
2035
2035
|
interface PublicKeyCredentialCreationOptions {
|
|
@@ -31815,13 +31815,13 @@ interface SVGAnimatedRect {
|
|
|
31815
31815
|
*
|
|
31816
31816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)
|
|
31817
31817
|
*/
|
|
31818
|
-
readonly animVal:
|
|
31818
|
+
readonly animVal: SVGRect;
|
|
31819
31819
|
/**
|
|
31820
31820
|
* The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
|
|
31821
31821
|
*
|
|
31822
31822
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)
|
|
31823
31823
|
*/
|
|
31824
|
-
readonly baseVal:
|
|
31824
|
+
readonly baseVal: SVGRect;
|
|
31825
31825
|
}
|
|
31826
31826
|
|
|
31827
31827
|
declare var SVGAnimatedRect: {
|
|
@@ -33198,7 +33198,7 @@ declare var SVGFETurbulenceElement: {
|
|
|
33198
33198
|
*
|
|
33199
33199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
33200
33200
|
*/
|
|
33201
|
-
interface SVGFilterElement extends SVGElement
|
|
33201
|
+
interface SVGFilterElement extends SVGElement {
|
|
33202
33202
|
/**
|
|
33203
33203
|
* The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given <filter> element. It takes one of the SVG_UNIT_TYPE_* constants defined in SVGUnitTypes.
|
|
33204
33204
|
*
|
|
@@ -33341,7 +33341,7 @@ interface SVGGeometryElement extends SVGGraphicsElement {
|
|
|
33341
33341
|
*
|
|
33342
33342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)
|
|
33343
33343
|
*/
|
|
33344
|
-
getPointAtLength(distance: number):
|
|
33344
|
+
getPointAtLength(distance: number): SVGPoint;
|
|
33345
33345
|
/**
|
|
33346
33346
|
* The **`SVGGeometryElement.getTotalLength()`** method returns the user agent's computed value for the total length of the path in user units.
|
|
33347
33347
|
*
|
|
@@ -33431,19 +33431,19 @@ interface SVGGraphicsElement extends SVGElement, SVGTests {
|
|
|
33431
33431
|
*
|
|
33432
33432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)
|
|
33433
33433
|
*/
|
|
33434
|
-
getBBox(options?: SVGBoundingBoxOptions):
|
|
33434
|
+
getBBox(options?: SVGBoundingBoxOptions): SVGRect;
|
|
33435
33435
|
/**
|
|
33436
33436
|
* The **`getCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.
|
|
33437
33437
|
*
|
|
33438
33438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)
|
|
33439
33439
|
*/
|
|
33440
|
-
getCTM():
|
|
33440
|
+
getCTM(): SVGMatrix | null;
|
|
33441
33441
|
/**
|
|
33442
33442
|
* The **`getScreenCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
|
|
33443
33443
|
*
|
|
33444
33444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)
|
|
33445
33445
|
*/
|
|
33446
|
-
getScreenCTM():
|
|
33446
|
+
getScreenCTM(): SVGMatrix | null;
|
|
33447
33447
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
33448
33448
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
33449
33449
|
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -34105,7 +34105,7 @@ interface SVGPointList {
|
|
|
34105
34105
|
*
|
|
34106
34106
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
|
|
34107
34107
|
*/
|
|
34108
|
-
appendItem(newItem:
|
|
34108
|
+
appendItem(newItem: SVGPoint): SVGPoint;
|
|
34109
34109
|
/**
|
|
34110
34110
|
* The **`clear()`** method of the SVGPointList interface removes all items from the list.
|
|
34111
34111
|
*
|
|
@@ -34117,32 +34117,32 @@ interface SVGPointList {
|
|
|
34117
34117
|
*
|
|
34118
34118
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)
|
|
34119
34119
|
*/
|
|
34120
|
-
getItem(index: number):
|
|
34120
|
+
getItem(index: number): SVGPoint;
|
|
34121
34121
|
/**
|
|
34122
34122
|
* The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
|
|
34123
34123
|
*
|
|
34124
34124
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
|
|
34125
34125
|
*/
|
|
34126
|
-
initialize(newItem:
|
|
34126
|
+
initialize(newItem: SVGPoint): SVGPoint;
|
|
34127
34127
|
/**
|
|
34128
34128
|
* The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
|
|
34129
34129
|
*
|
|
34130
34130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
|
|
34131
34131
|
*/
|
|
34132
|
-
insertItemBefore(newItem:
|
|
34132
|
+
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
|
|
34133
34133
|
/**
|
|
34134
34134
|
* The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
|
|
34135
34135
|
*
|
|
34136
34136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
|
|
34137
34137
|
*/
|
|
34138
|
-
removeItem(index: number):
|
|
34138
|
+
removeItem(index: number): SVGPoint;
|
|
34139
34139
|
/**
|
|
34140
34140
|
* The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
|
|
34141
34141
|
*
|
|
34142
34142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
|
|
34143
34143
|
*/
|
|
34144
|
-
replaceItem(newItem:
|
|
34145
|
-
[index: number]:
|
|
34144
|
+
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
|
|
34145
|
+
[index: number]: SVGPoint;
|
|
34146
34146
|
}
|
|
34147
34147
|
|
|
34148
34148
|
declare var SVGPointList: {
|
|
@@ -34363,7 +34363,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34363
34363
|
*
|
|
34364
34364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)
|
|
34365
34365
|
*/
|
|
34366
|
-
readonly currentTranslate:
|
|
34366
|
+
readonly currentTranslate: SVGPoint;
|
|
34367
34367
|
/**
|
|
34368
34368
|
* The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength. It reflects the <svg> element's height attribute, which may not be the SVG's rendered height.
|
|
34369
34369
|
*
|
|
@@ -34399,13 +34399,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34399
34399
|
*
|
|
34400
34400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)
|
|
34401
34401
|
*/
|
|
34402
|
-
checkEnclosure(element: SVGElement, rect:
|
|
34402
|
+
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
|
|
34403
34403
|
/**
|
|
34404
34404
|
* The **`checkIntersection()`** method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.
|
|
34405
34405
|
*
|
|
34406
34406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)
|
|
34407
34407
|
*/
|
|
34408
|
-
checkIntersection(element: SVGElement, rect:
|
|
34408
|
+
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
|
|
34409
34409
|
/**
|
|
34410
34410
|
* The **`createSVGAngle()`** method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.
|
|
34411
34411
|
*
|
|
@@ -34423,7 +34423,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34423
34423
|
*
|
|
34424
34424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)
|
|
34425
34425
|
*/
|
|
34426
|
-
createSVGMatrix():
|
|
34426
|
+
createSVGMatrix(): SVGMatrix;
|
|
34427
34427
|
/**
|
|
34428
34428
|
* The **`createSVGNumber()`** method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.
|
|
34429
34429
|
*
|
|
@@ -34435,13 +34435,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34435
34435
|
*
|
|
34436
34436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
|
|
34437
34437
|
*/
|
|
34438
|
-
createSVGPoint():
|
|
34438
|
+
createSVGPoint(): SVGPoint;
|
|
34439
34439
|
/**
|
|
34440
34440
|
* The **`createSVGRect()`** method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
34441
34441
|
*
|
|
34442
34442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
34443
34443
|
*/
|
|
34444
|
-
createSVGRect():
|
|
34444
|
+
createSVGRect(): SVGRect;
|
|
34445
34445
|
/**
|
|
34446
34446
|
* The **`createSVGTransform()`** method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.
|
|
34447
34447
|
*
|
|
@@ -34474,8 +34474,8 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34474
34474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)
|
|
34475
34475
|
*/
|
|
34476
34476
|
getElementById(elementId: string): Element | null;
|
|
34477
|
-
getEnclosureList(rect:
|
|
34478
|
-
getIntersectionList(rect:
|
|
34477
|
+
getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34478
|
+
getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34479
34479
|
/**
|
|
34480
34480
|
* The **`pauseAnimations()`** method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this <svg> element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.
|
|
34481
34481
|
*
|
|
@@ -34777,13 +34777,13 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34777
34777
|
*
|
|
34778
34778
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)
|
|
34779
34779
|
*/
|
|
34780
|
-
getEndPositionOfChar(charnum: number):
|
|
34780
|
+
getEndPositionOfChar(charnum: number): SVGPoint;
|
|
34781
34781
|
/**
|
|
34782
34782
|
* The **`getExtentOfChar()`** method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.
|
|
34783
34783
|
*
|
|
34784
34784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)
|
|
34785
34785
|
*/
|
|
34786
|
-
getExtentOfChar(charnum: number):
|
|
34786
|
+
getExtentOfChar(charnum: number): SVGRect;
|
|
34787
34787
|
/**
|
|
34788
34788
|
* The **`getNumberOfChars()`** method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.
|
|
34789
34789
|
*
|
|
@@ -34801,7 +34801,7 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34801
34801
|
*
|
|
34802
34802
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)
|
|
34803
34803
|
*/
|
|
34804
|
-
getStartPositionOfChar(charnum: number):
|
|
34804
|
+
getStartPositionOfChar(charnum: number): SVGPoint;
|
|
34805
34805
|
/**
|
|
34806
34806
|
* The **`getSubStringLength()`** method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.
|
|
34807
34807
|
*
|
|
@@ -34972,7 +34972,7 @@ interface SVGTransform {
|
|
|
34972
34972
|
*
|
|
34973
34973
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
|
|
34974
34974
|
*/
|
|
34975
|
-
readonly matrix:
|
|
34975
|
+
readonly matrix: SVGMatrix;
|
|
34976
34976
|
/**
|
|
34977
34977
|
* The **`type`** read-only property of the SVGTransform interface represents the type of transformation applied, specified by one of the SVG_TRANSFORM_* constants defined on this interface.
|
|
34978
34978
|
*
|
|
@@ -45217,7 +45217,7 @@ type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
|
45217
45217
|
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
45218
45218
|
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
45219
45219
|
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
45220
|
-
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45220
|
+
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm10-10-10-2" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45221
45221
|
type GPUVertexStepMode = "instance" | "vertex";
|
|
45222
45222
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
45223
45223
|
type GamepadHapticsResult = "complete" | "preempted";
|
package/ts5.6/iterable.d.ts
CHANGED
package/ts5.9/index.d.ts
CHANGED
|
@@ -1400,7 +1400,7 @@ interface Keyframe {
|
|
|
1400
1400
|
composite?: CompositeOperationOrAuto;
|
|
1401
1401
|
easing?: string;
|
|
1402
1402
|
offset?: number | null;
|
|
1403
|
-
[property: string]: string | number | null | undefined;
|
|
1403
|
+
[property: string]: string | number | CSSStyleValue | null | undefined;
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
@@ -2029,7 +2029,7 @@ interface PropertyIndexedKeyframes {
|
|
|
2029
2029
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
2030
2030
|
easing?: string | string[];
|
|
2031
2031
|
offset?: number | (number | null)[];
|
|
2032
|
-
[property: string]: string | string[] | number | null | (number | null)[] | undefined;
|
|
2032
|
+
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
2035
2035
|
interface PublicKeyCredentialCreationOptions {
|
|
@@ -31815,13 +31815,13 @@ interface SVGAnimatedRect {
|
|
|
31815
31815
|
*
|
|
31816
31816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)
|
|
31817
31817
|
*/
|
|
31818
|
-
readonly animVal:
|
|
31818
|
+
readonly animVal: SVGRect;
|
|
31819
31819
|
/**
|
|
31820
31820
|
* The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the viewBox attribute of an SVG element.
|
|
31821
31821
|
*
|
|
31822
31822
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)
|
|
31823
31823
|
*/
|
|
31824
|
-
readonly baseVal:
|
|
31824
|
+
readonly baseVal: SVGRect;
|
|
31825
31825
|
}
|
|
31826
31826
|
|
|
31827
31827
|
declare var SVGAnimatedRect: {
|
|
@@ -33198,7 +33198,7 @@ declare var SVGFETurbulenceElement: {
|
|
|
33198
33198
|
*
|
|
33199
33199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)
|
|
33200
33200
|
*/
|
|
33201
|
-
interface SVGFilterElement extends SVGElement
|
|
33201
|
+
interface SVGFilterElement extends SVGElement {
|
|
33202
33202
|
/**
|
|
33203
33203
|
* The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given <filter> element. It takes one of the SVG_UNIT_TYPE_* constants defined in SVGUnitTypes.
|
|
33204
33204
|
*
|
|
@@ -33341,7 +33341,7 @@ interface SVGGeometryElement extends SVGGraphicsElement {
|
|
|
33341
33341
|
*
|
|
33342
33342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)
|
|
33343
33343
|
*/
|
|
33344
|
-
getPointAtLength(distance: number):
|
|
33344
|
+
getPointAtLength(distance: number): SVGPoint;
|
|
33345
33345
|
/**
|
|
33346
33346
|
* The **`SVGGeometryElement.getTotalLength()`** method returns the user agent's computed value for the total length of the path in user units.
|
|
33347
33347
|
*
|
|
@@ -33431,19 +33431,19 @@ interface SVGGraphicsElement extends SVGElement, SVGTests {
|
|
|
33431
33431
|
*
|
|
33432
33432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)
|
|
33433
33433
|
*/
|
|
33434
|
-
getBBox(options?: SVGBoundingBoxOptions):
|
|
33434
|
+
getBBox(options?: SVGBoundingBoxOptions): SVGRect;
|
|
33435
33435
|
/**
|
|
33436
33436
|
* The **`getCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.
|
|
33437
33437
|
*
|
|
33438
33438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)
|
|
33439
33439
|
*/
|
|
33440
|
-
getCTM():
|
|
33440
|
+
getCTM(): SVGMatrix | null;
|
|
33441
33441
|
/**
|
|
33442
33442
|
* The **`getScreenCTM()`** method of the SVGGraphicsElement interface represents the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.
|
|
33443
33443
|
*
|
|
33444
33444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)
|
|
33445
33445
|
*/
|
|
33446
|
-
getScreenCTM():
|
|
33446
|
+
getScreenCTM(): SVGMatrix | null;
|
|
33447
33447
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
33448
33448
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
33449
33449
|
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -34105,7 +34105,7 @@ interface SVGPointList {
|
|
|
34105
34105
|
*
|
|
34106
34106
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)
|
|
34107
34107
|
*/
|
|
34108
|
-
appendItem(newItem:
|
|
34108
|
+
appendItem(newItem: SVGPoint): SVGPoint;
|
|
34109
34109
|
/**
|
|
34110
34110
|
* The **`clear()`** method of the SVGPointList interface removes all items from the list.
|
|
34111
34111
|
*
|
|
@@ -34117,32 +34117,32 @@ interface SVGPointList {
|
|
|
34117
34117
|
*
|
|
34118
34118
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)
|
|
34119
34119
|
*/
|
|
34120
|
-
getItem(index: number):
|
|
34120
|
+
getItem(index: number): SVGPoint;
|
|
34121
34121
|
/**
|
|
34122
34122
|
* The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.
|
|
34123
34123
|
*
|
|
34124
34124
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)
|
|
34125
34125
|
*/
|
|
34126
|
-
initialize(newItem:
|
|
34126
|
+
initialize(newItem: SVGPoint): SVGPoint;
|
|
34127
34127
|
/**
|
|
34128
34128
|
* The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.
|
|
34129
34129
|
*
|
|
34130
34130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)
|
|
34131
34131
|
*/
|
|
34132
|
-
insertItemBefore(newItem:
|
|
34132
|
+
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
|
|
34133
34133
|
/**
|
|
34134
34134
|
* The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.
|
|
34135
34135
|
*
|
|
34136
34136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)
|
|
34137
34137
|
*/
|
|
34138
|
-
removeItem(index: number):
|
|
34138
|
+
removeItem(index: number): SVGPoint;
|
|
34139
34139
|
/**
|
|
34140
34140
|
* The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.
|
|
34141
34141
|
*
|
|
34142
34142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)
|
|
34143
34143
|
*/
|
|
34144
|
-
replaceItem(newItem:
|
|
34145
|
-
[index: number]:
|
|
34144
|
+
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
|
|
34145
|
+
[index: number]: SVGPoint;
|
|
34146
34146
|
}
|
|
34147
34147
|
|
|
34148
34148
|
declare var SVGPointList: {
|
|
@@ -34363,7 +34363,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34363
34363
|
*
|
|
34364
34364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)
|
|
34365
34365
|
*/
|
|
34366
|
-
readonly currentTranslate:
|
|
34366
|
+
readonly currentTranslate: SVGPoint;
|
|
34367
34367
|
/**
|
|
34368
34368
|
* The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength. It reflects the <svg> element's height attribute, which may not be the SVG's rendered height.
|
|
34369
34369
|
*
|
|
@@ -34399,13 +34399,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34399
34399
|
*
|
|
34400
34400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)
|
|
34401
34401
|
*/
|
|
34402
|
-
checkEnclosure(element: SVGElement, rect:
|
|
34402
|
+
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
|
|
34403
34403
|
/**
|
|
34404
34404
|
* The **`checkIntersection()`** method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.
|
|
34405
34405
|
*
|
|
34406
34406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)
|
|
34407
34407
|
*/
|
|
34408
|
-
checkIntersection(element: SVGElement, rect:
|
|
34408
|
+
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
|
|
34409
34409
|
/**
|
|
34410
34410
|
* The **`createSVGAngle()`** method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.
|
|
34411
34411
|
*
|
|
@@ -34423,7 +34423,7 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34423
34423
|
*
|
|
34424
34424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)
|
|
34425
34425
|
*/
|
|
34426
|
-
createSVGMatrix():
|
|
34426
|
+
createSVGMatrix(): SVGMatrix;
|
|
34427
34427
|
/**
|
|
34428
34428
|
* The **`createSVGNumber()`** method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.
|
|
34429
34429
|
*
|
|
@@ -34435,13 +34435,13 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34435
34435
|
*
|
|
34436
34436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)
|
|
34437
34437
|
*/
|
|
34438
|
-
createSVGPoint():
|
|
34438
|
+
createSVGPoint(): SVGPoint;
|
|
34439
34439
|
/**
|
|
34440
34440
|
* The **`createSVGRect()`** method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
|
|
34441
34441
|
*
|
|
34442
34442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)
|
|
34443
34443
|
*/
|
|
34444
|
-
createSVGRect():
|
|
34444
|
+
createSVGRect(): SVGRect;
|
|
34445
34445
|
/**
|
|
34446
34446
|
* The **`createSVGTransform()`** method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.
|
|
34447
34447
|
*
|
|
@@ -34474,8 +34474,8 @@ interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEvent
|
|
|
34474
34474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)
|
|
34475
34475
|
*/
|
|
34476
34476
|
getElementById(elementId: string): Element | null;
|
|
34477
|
-
getEnclosureList(rect:
|
|
34478
|
-
getIntersectionList(rect:
|
|
34477
|
+
getEnclosureList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34478
|
+
getIntersectionList(rect: SVGRect, referenceElement: SVGElement | null): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
|
|
34479
34479
|
/**
|
|
34480
34480
|
* The **`pauseAnimations()`** method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this <svg> element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.
|
|
34481
34481
|
*
|
|
@@ -34777,13 +34777,13 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34777
34777
|
*
|
|
34778
34778
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)
|
|
34779
34779
|
*/
|
|
34780
|
-
getEndPositionOfChar(charnum: number):
|
|
34780
|
+
getEndPositionOfChar(charnum: number): SVGPoint;
|
|
34781
34781
|
/**
|
|
34782
34782
|
* The **`getExtentOfChar()`** method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.
|
|
34783
34783
|
*
|
|
34784
34784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)
|
|
34785
34785
|
*/
|
|
34786
|
-
getExtentOfChar(charnum: number):
|
|
34786
|
+
getExtentOfChar(charnum: number): SVGRect;
|
|
34787
34787
|
/**
|
|
34788
34788
|
* The **`getNumberOfChars()`** method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.
|
|
34789
34789
|
*
|
|
@@ -34801,7 +34801,7 @@ interface SVGTextContentElement extends SVGGraphicsElement {
|
|
|
34801
34801
|
*
|
|
34802
34802
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)
|
|
34803
34803
|
*/
|
|
34804
|
-
getStartPositionOfChar(charnum: number):
|
|
34804
|
+
getStartPositionOfChar(charnum: number): SVGPoint;
|
|
34805
34805
|
/**
|
|
34806
34806
|
* The **`getSubStringLength()`** method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.
|
|
34807
34807
|
*
|
|
@@ -34972,7 +34972,7 @@ interface SVGTransform {
|
|
|
34972
34972
|
*
|
|
34973
34973
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
|
|
34974
34974
|
*/
|
|
34975
|
-
readonly matrix:
|
|
34975
|
+
readonly matrix: SVGMatrix;
|
|
34976
34976
|
/**
|
|
34977
34977
|
* The **`type`** read-only property of the SVGTransform interface represents the type of transformation applied, specified by one of the SVG_TRANSFORM_* constants defined on this interface.
|
|
34978
34978
|
*
|
|
@@ -45217,7 +45217,7 @@ type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
|
45217
45217
|
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
45218
45218
|
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
45219
45219
|
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
45220
|
-
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45220
|
+
type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm10-10-10-2" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
|
|
45221
45221
|
type GPUVertexStepMode = "instance" | "vertex";
|
|
45222
45222
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
45223
45223
|
type GamepadHapticsResult = "complete" | "preempted";
|