@types/web 0.0.217 → 0.0.219
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 +51 -5
- package/package.json +1 -1
- package/ts5.5/index.d.ts +51 -5
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.219 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.219.
|
package/index.d.ts
CHANGED
|
@@ -1103,7 +1103,10 @@ interface MediaTrackSettings {
|
|
|
1103
1103
|
noiseSuppression?: boolean;
|
|
1104
1104
|
sampleRate?: number;
|
|
1105
1105
|
sampleSize?: number;
|
|
1106
|
+
torch?: boolean;
|
|
1107
|
+
whiteBalanceMode?: string;
|
|
1106
1108
|
width?: number;
|
|
1109
|
+
zoom?: number;
|
|
1107
1110
|
}
|
|
1108
1111
|
|
|
1109
1112
|
interface MediaTrackSupportedConstraints {
|
|
@@ -1711,6 +1714,9 @@ interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
|
1711
1714
|
trackIdentifier: string;
|
|
1712
1715
|
}
|
|
1713
1716
|
|
|
1717
|
+
interface RTCLocalIceCandidateInit extends RTCIceCandidateInit {
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1714
1720
|
interface RTCLocalSessionDescriptionInit {
|
|
1715
1721
|
sdp?: string;
|
|
1716
1722
|
type?: RTCSdpType;
|
|
@@ -1766,7 +1772,6 @@ interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
|
1766
1772
|
|
|
1767
1773
|
interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
1768
1774
|
candidate?: RTCIceCandidate | null;
|
|
1769
|
-
url?: string | null;
|
|
1770
1775
|
}
|
|
1771
1776
|
|
|
1772
1777
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
@@ -2600,6 +2605,7 @@ interface ARIAMixin {
|
|
|
2600
2605
|
ariaValueNow: string | null;
|
|
2601
2606
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */
|
|
2602
2607
|
ariaValueText: string | null;
|
|
2608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role) */
|
|
2603
2609
|
role: string | null;
|
|
2604
2610
|
}
|
|
2605
2611
|
|
|
@@ -6799,6 +6805,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6799
6805
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6800
6806
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
6801
6807
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
6802
6809
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6803
6810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue) */
|
|
6804
6811
|
setMatrixValue(transformList: string): DOMMatrix;
|
|
@@ -11136,7 +11143,9 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
11136
11143
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
11137
11144
|
*/
|
|
11138
11145
|
noValidate: boolean;
|
|
11146
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel) */
|
|
11139
11147
|
rel: string;
|
|
11148
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList) */
|
|
11140
11149
|
get relList(): DOMTokenList;
|
|
11141
11150
|
set relList(value: string);
|
|
11142
11151
|
/**
|
|
@@ -11558,7 +11567,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
11558
11567
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
|
|
11559
11568
|
*/
|
|
11560
11569
|
width: string;
|
|
11561
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/getSVGDocument) */
|
|
11562
11571
|
getSVGDocument(): Document | null;
|
|
11563
11572
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11564
11573
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11761,6 +11770,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11761
11770
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11762
11771
|
*/
|
|
11763
11772
|
defaultValue: string;
|
|
11773
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/dirName) */
|
|
11764
11774
|
dirName: string;
|
|
11765
11775
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
11766
11776
|
disabled: boolean;
|
|
@@ -14051,6 +14061,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
14051
14061
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
14052
14062
|
*/
|
|
14053
14063
|
defaultValue: string;
|
|
14064
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/dirName) */
|
|
14054
14065
|
dirName: string;
|
|
14055
14066
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
14056
14067
|
disabled: boolean;
|
|
@@ -15277,7 +15288,7 @@ interface ImageData {
|
|
|
15277
15288
|
*
|
|
15278
15289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
15279
15290
|
*/
|
|
15280
|
-
readonly data:
|
|
15291
|
+
readonly data: ImageDataArray;
|
|
15281
15292
|
/**
|
|
15282
15293
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
|
15283
15294
|
*
|
|
@@ -15295,7 +15306,7 @@ interface ImageData {
|
|
|
15295
15306
|
declare var ImageData: {
|
|
15296
15307
|
prototype: ImageData;
|
|
15297
15308
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
15298
|
-
new(data:
|
|
15309
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
15299
15310
|
};
|
|
15300
15311
|
|
|
15301
15312
|
/**
|
|
@@ -16977,6 +16988,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
16977
16988
|
readonly doNotTrack: string | null;
|
|
16978
16989
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation) */
|
|
16979
16990
|
readonly geolocation: Geolocation;
|
|
16991
|
+
/**
|
|
16992
|
+
* Available only in secure contexts.
|
|
16993
|
+
*
|
|
16994
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/login)
|
|
16995
|
+
*/
|
|
16996
|
+
readonly login: NavigatorLogin;
|
|
16980
16997
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints) */
|
|
16981
16998
|
readonly maxTouchPoints: number;
|
|
16982
16999
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities) */
|
|
@@ -17136,6 +17153,21 @@ interface NavigatorLocks {
|
|
|
17136
17153
|
readonly locks: LockManager;
|
|
17137
17154
|
}
|
|
17138
17155
|
|
|
17156
|
+
/**
|
|
17157
|
+
* Available only in secure contexts.
|
|
17158
|
+
*
|
|
17159
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin)
|
|
17160
|
+
*/
|
|
17161
|
+
interface NavigatorLogin {
|
|
17162
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin/setStatus) */
|
|
17163
|
+
setStatus(status: LoginStatus): Promise<void>;
|
|
17164
|
+
}
|
|
17165
|
+
|
|
17166
|
+
declare var NavigatorLogin: {
|
|
17167
|
+
prototype: NavigatorLogin;
|
|
17168
|
+
new(): NavigatorLogin;
|
|
17169
|
+
};
|
|
17170
|
+
|
|
17139
17171
|
interface NavigatorOnLine {
|
|
17140
17172
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */
|
|
17141
17173
|
readonly onLine: boolean;
|
|
@@ -19249,7 +19281,7 @@ interface RTCIceCandidate {
|
|
|
19249
19281
|
|
|
19250
19282
|
declare var RTCIceCandidate: {
|
|
19251
19283
|
prototype: RTCIceCandidate;
|
|
19252
|
-
new(candidateInitDict?:
|
|
19284
|
+
new(candidateInitDict?: RTCLocalIceCandidateInit): RTCIceCandidate;
|
|
19253
19285
|
};
|
|
19254
19286
|
|
|
19255
19287
|
interface RTCIceCandidatePair {
|
|
@@ -21135,7 +21167,9 @@ declare var SVGFEPointLightElement: {
|
|
|
21135
21167
|
interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
21136
21168
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/in1) */
|
|
21137
21169
|
readonly in1: SVGAnimatedString;
|
|
21170
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX) */
|
|
21138
21171
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
21172
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY) */
|
|
21139
21173
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
21140
21174
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant) */
|
|
21141
21175
|
readonly specularConstant: SVGAnimatedNumber;
|
|
@@ -21423,6 +21457,7 @@ declare var SVGGraphicsElement: {
|
|
|
21423
21457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
21424
21458
|
*/
|
|
21425
21459
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
21460
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossOrigin) */
|
|
21426
21461
|
crossOrigin: string | null;
|
|
21427
21462
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
21428
21463
|
readonly height: SVGAnimatedLength;
|
|
@@ -21729,8 +21764,11 @@ declare var SVGNumberList: {
|
|
|
21729
21764
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement)
|
|
21730
21765
|
*/
|
|
21731
21766
|
interface SVGPathElement extends SVGGeometryElement {
|
|
21767
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/pathLength) */
|
|
21732
21768
|
readonly pathLength: SVGAnimatedNumber;
|
|
21769
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getPointAtLength) */
|
|
21733
21770
|
getPointAtLength(distance: number): DOMPoint;
|
|
21771
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getTotalLength) */
|
|
21734
21772
|
getTotalLength(): number;
|
|
21735
21773
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21736
21774
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21891,6 +21929,7 @@ interface SVGRadialGradientElement extends SVGGradientElement {
|
|
|
21891
21929
|
readonly cx: SVGAnimatedLength;
|
|
21892
21930
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21893
21931
|
readonly cy: SVGAnimatedLength;
|
|
21932
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fr) */
|
|
21894
21933
|
readonly fr: SVGAnimatedLength;
|
|
21895
21934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21896
21935
|
readonly fx: SVGAnimatedLength;
|
|
@@ -22290,6 +22329,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement {
|
|
|
22290
22329
|
readonly dx: SVGAnimatedLengthList;
|
|
22291
22330
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy) */
|
|
22292
22331
|
readonly dy: SVGAnimatedLengthList;
|
|
22332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate) */
|
|
22293
22333
|
readonly rotate: SVGAnimatedNumberList;
|
|
22294
22334
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x) */
|
|
22295
22335
|
readonly x: SVGAnimatedLengthList;
|
|
@@ -27291,6 +27331,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
27291
27331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
27292
27332
|
*/
|
|
27293
27333
|
readonly orientation: number;
|
|
27334
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
27335
|
+
readonly originAgentCluster: boolean;
|
|
27294
27336
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
27295
27337
|
readonly outerHeight: number;
|
|
27296
27338
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -28928,6 +28970,8 @@ declare var opener: any;
|
|
|
28928
28970
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
28929
28971
|
*/
|
|
28930
28972
|
declare var orientation: number;
|
|
28973
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
28974
|
+
declare var originAgentCluster: boolean;
|
|
28931
28975
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
28932
28976
|
declare var outerHeight: number;
|
|
28933
28977
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -29676,6 +29720,7 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
|
29676
29720
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
29677
29721
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
29678
29722
|
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
29723
|
+
type ImageDataArray = Uint8ClampedArray;
|
|
29679
29724
|
type Int32List = Int32Array | GLint[];
|
|
29680
29725
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
29681
29726
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
|
@@ -29789,6 +29834,7 @@ type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "u
|
|
|
29789
29834
|
type LatencyMode = "quality" | "realtime";
|
|
29790
29835
|
type LineAlignSetting = "center" | "end" | "start";
|
|
29791
29836
|
type LockMode = "exclusive" | "shared";
|
|
29837
|
+
type LoginStatus = "logged-in" | "logged-out";
|
|
29792
29838
|
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
29793
29839
|
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
29794
29840
|
type MIDIPortType = "input" | "output";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1103,7 +1103,10 @@ interface MediaTrackSettings {
|
|
|
1103
1103
|
noiseSuppression?: boolean;
|
|
1104
1104
|
sampleRate?: number;
|
|
1105
1105
|
sampleSize?: number;
|
|
1106
|
+
torch?: boolean;
|
|
1107
|
+
whiteBalanceMode?: string;
|
|
1106
1108
|
width?: number;
|
|
1109
|
+
zoom?: number;
|
|
1107
1110
|
}
|
|
1108
1111
|
|
|
1109
1112
|
interface MediaTrackSupportedConstraints {
|
|
@@ -1711,6 +1714,9 @@ interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
|
1711
1714
|
trackIdentifier: string;
|
|
1712
1715
|
}
|
|
1713
1716
|
|
|
1717
|
+
interface RTCLocalIceCandidateInit extends RTCIceCandidateInit {
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1714
1720
|
interface RTCLocalSessionDescriptionInit {
|
|
1715
1721
|
sdp?: string;
|
|
1716
1722
|
type?: RTCSdpType;
|
|
@@ -1766,7 +1772,6 @@ interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
|
1766
1772
|
|
|
1767
1773
|
interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
1768
1774
|
candidate?: RTCIceCandidate | null;
|
|
1769
|
-
url?: string | null;
|
|
1770
1775
|
}
|
|
1771
1776
|
|
|
1772
1777
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
@@ -2600,6 +2605,7 @@ interface ARIAMixin {
|
|
|
2600
2605
|
ariaValueNow: string | null;
|
|
2601
2606
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */
|
|
2602
2607
|
ariaValueText: string | null;
|
|
2608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role) */
|
|
2603
2609
|
role: string | null;
|
|
2604
2610
|
}
|
|
2605
2611
|
|
|
@@ -6792,6 +6798,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6792
6798
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6793
6799
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
6794
6800
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6801
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
6795
6802
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6796
6803
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue) */
|
|
6797
6804
|
setMatrixValue(transformList: string): DOMMatrix;
|
|
@@ -11124,7 +11131,9 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
11124
11131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
11125
11132
|
*/
|
|
11126
11133
|
noValidate: boolean;
|
|
11134
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel) */
|
|
11127
11135
|
rel: string;
|
|
11136
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList) */
|
|
11128
11137
|
readonly relList: DOMTokenList;
|
|
11129
11138
|
/**
|
|
11130
11139
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -11544,7 +11553,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
11544
11553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
|
|
11545
11554
|
*/
|
|
11546
11555
|
width: string;
|
|
11547
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11556
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/getSVGDocument) */
|
|
11548
11557
|
getSVGDocument(): Document | null;
|
|
11549
11558
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11550
11559
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11747,6 +11756,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11747
11756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11748
11757
|
*/
|
|
11749
11758
|
defaultValue: string;
|
|
11759
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/dirName) */
|
|
11750
11760
|
dirName: string;
|
|
11751
11761
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
11752
11762
|
disabled: boolean;
|
|
@@ -14031,6 +14041,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
14031
14041
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
14032
14042
|
*/
|
|
14033
14043
|
defaultValue: string;
|
|
14044
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/dirName) */
|
|
14034
14045
|
dirName: string;
|
|
14035
14046
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
14036
14047
|
disabled: boolean;
|
|
@@ -15257,7 +15268,7 @@ interface ImageData {
|
|
|
15257
15268
|
*
|
|
15258
15269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
15259
15270
|
*/
|
|
15260
|
-
readonly data:
|
|
15271
|
+
readonly data: ImageDataArray;
|
|
15261
15272
|
/**
|
|
15262
15273
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
|
15263
15274
|
*
|
|
@@ -15275,7 +15286,7 @@ interface ImageData {
|
|
|
15275
15286
|
declare var ImageData: {
|
|
15276
15287
|
prototype: ImageData;
|
|
15277
15288
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
15278
|
-
new(data:
|
|
15289
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
15279
15290
|
};
|
|
15280
15291
|
|
|
15281
15292
|
/**
|
|
@@ -16957,6 +16968,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
16957
16968
|
readonly doNotTrack: string | null;
|
|
16958
16969
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation) */
|
|
16959
16970
|
readonly geolocation: Geolocation;
|
|
16971
|
+
/**
|
|
16972
|
+
* Available only in secure contexts.
|
|
16973
|
+
*
|
|
16974
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/login)
|
|
16975
|
+
*/
|
|
16976
|
+
readonly login: NavigatorLogin;
|
|
16960
16977
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints) */
|
|
16961
16978
|
readonly maxTouchPoints: number;
|
|
16962
16979
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities) */
|
|
@@ -17116,6 +17133,21 @@ interface NavigatorLocks {
|
|
|
17116
17133
|
readonly locks: LockManager;
|
|
17117
17134
|
}
|
|
17118
17135
|
|
|
17136
|
+
/**
|
|
17137
|
+
* Available only in secure contexts.
|
|
17138
|
+
*
|
|
17139
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin)
|
|
17140
|
+
*/
|
|
17141
|
+
interface NavigatorLogin {
|
|
17142
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin/setStatus) */
|
|
17143
|
+
setStatus(status: LoginStatus): Promise<void>;
|
|
17144
|
+
}
|
|
17145
|
+
|
|
17146
|
+
declare var NavigatorLogin: {
|
|
17147
|
+
prototype: NavigatorLogin;
|
|
17148
|
+
new(): NavigatorLogin;
|
|
17149
|
+
};
|
|
17150
|
+
|
|
17119
17151
|
interface NavigatorOnLine {
|
|
17120
17152
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */
|
|
17121
17153
|
readonly onLine: boolean;
|
|
@@ -19229,7 +19261,7 @@ interface RTCIceCandidate {
|
|
|
19229
19261
|
|
|
19230
19262
|
declare var RTCIceCandidate: {
|
|
19231
19263
|
prototype: RTCIceCandidate;
|
|
19232
|
-
new(candidateInitDict?:
|
|
19264
|
+
new(candidateInitDict?: RTCLocalIceCandidateInit): RTCIceCandidate;
|
|
19233
19265
|
};
|
|
19234
19266
|
|
|
19235
19267
|
interface RTCIceCandidatePair {
|
|
@@ -21114,7 +21146,9 @@ declare var SVGFEPointLightElement: {
|
|
|
21114
21146
|
interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
|
|
21115
21147
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/in1) */
|
|
21116
21148
|
readonly in1: SVGAnimatedString;
|
|
21149
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX) */
|
|
21117
21150
|
readonly kernelUnitLengthX: SVGAnimatedNumber;
|
|
21151
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY) */
|
|
21118
21152
|
readonly kernelUnitLengthY: SVGAnimatedNumber;
|
|
21119
21153
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant) */
|
|
21120
21154
|
readonly specularConstant: SVGAnimatedNumber;
|
|
@@ -21402,6 +21436,7 @@ declare var SVGGraphicsElement: {
|
|
|
21402
21436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
21403
21437
|
*/
|
|
21404
21438
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
21439
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossOrigin) */
|
|
21405
21440
|
crossOrigin: string | null;
|
|
21406
21441
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
21407
21442
|
readonly height: SVGAnimatedLength;
|
|
@@ -21708,8 +21743,11 @@ declare var SVGNumberList: {
|
|
|
21708
21743
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement)
|
|
21709
21744
|
*/
|
|
21710
21745
|
interface SVGPathElement extends SVGGeometryElement {
|
|
21746
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/pathLength) */
|
|
21711
21747
|
readonly pathLength: SVGAnimatedNumber;
|
|
21748
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getPointAtLength) */
|
|
21712
21749
|
getPointAtLength(distance: number): DOMPoint;
|
|
21750
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getTotalLength) */
|
|
21713
21751
|
getTotalLength(): number;
|
|
21714
21752
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21715
21753
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21870,6 +21908,7 @@ interface SVGRadialGradientElement extends SVGGradientElement {
|
|
|
21870
21908
|
readonly cx: SVGAnimatedLength;
|
|
21871
21909
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy) */
|
|
21872
21910
|
readonly cy: SVGAnimatedLength;
|
|
21911
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fr) */
|
|
21873
21912
|
readonly fr: SVGAnimatedLength;
|
|
21874
21913
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx) */
|
|
21875
21914
|
readonly fx: SVGAnimatedLength;
|
|
@@ -22269,6 +22308,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement {
|
|
|
22269
22308
|
readonly dx: SVGAnimatedLengthList;
|
|
22270
22309
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy) */
|
|
22271
22310
|
readonly dy: SVGAnimatedLengthList;
|
|
22311
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate) */
|
|
22272
22312
|
readonly rotate: SVGAnimatedNumberList;
|
|
22273
22313
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x) */
|
|
22274
22314
|
readonly x: SVGAnimatedLengthList;
|
|
@@ -27269,6 +27309,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
27269
27309
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
27270
27310
|
*/
|
|
27271
27311
|
readonly orientation: number;
|
|
27312
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
27313
|
+
readonly originAgentCluster: boolean;
|
|
27272
27314
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
27273
27315
|
readonly outerHeight: number;
|
|
27274
27316
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -28906,6 +28948,8 @@ declare var opener: any;
|
|
|
28906
28948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
28907
28949
|
*/
|
|
28908
28950
|
declare var orientation: number;
|
|
28951
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
28952
|
+
declare var originAgentCluster: boolean;
|
|
28909
28953
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
28910
28954
|
declare var outerHeight: number;
|
|
28911
28955
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -29654,6 +29698,7 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
|
29654
29698
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
29655
29699
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
29656
29700
|
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
29701
|
+
type ImageDataArray = Uint8ClampedArray;
|
|
29657
29702
|
type Int32List = Int32Array | GLint[];
|
|
29658
29703
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
29659
29704
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
|
@@ -29767,6 +29812,7 @@ type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "u
|
|
|
29767
29812
|
type LatencyMode = "quality" | "realtime";
|
|
29768
29813
|
type LineAlignSetting = "center" | "end" | "start";
|
|
29769
29814
|
type LockMode = "exclusive" | "shared";
|
|
29815
|
+
type LoginStatus = "logged-in" | "logged-out";
|
|
29770
29816
|
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
29771
29817
|
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
29772
29818
|
type MIDIPortType = "input" | "output";
|