@types/web 0.0.216 → 0.0.218
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 +2 -2
- package/index.d.ts +54 -10
- package/package.json +1 -1
- package/ts5.5/index.d.ts +54 -10
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ The APIs inside `@types/web` are [generated from](https://github.com/microsoft/T
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
-
With TypeScript 4.5+ using [lib replacement](https://
|
|
11
|
+
With TypeScript 4.5+ using [lib replacement](https://www.typescriptlang.org/tsconfig/#libReplacement), you can swap the DOM lib with this dependency:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
pnpm add @typescript/lib-dom@npm:@types/web --save-dev
|
|
@@ -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.218 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.218.
|
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;
|
|
@@ -2600,6 +2606,7 @@ interface ARIAMixin {
|
|
|
2600
2606
|
ariaValueNow: string | null;
|
|
2601
2607
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */
|
|
2602
2608
|
ariaValueText: string | null;
|
|
2609
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role) */
|
|
2603
2610
|
role: string | null;
|
|
2604
2611
|
}
|
|
2605
2612
|
|
|
@@ -6799,6 +6806,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6799
6806
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6800
6807
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
6801
6808
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6809
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
6802
6810
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6803
6811
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue) */
|
|
6804
6812
|
setMatrixValue(transformList: string): DOMMatrix;
|
|
@@ -11136,7 +11144,9 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
11136
11144
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
11137
11145
|
*/
|
|
11138
11146
|
noValidate: boolean;
|
|
11147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel) */
|
|
11139
11148
|
rel: string;
|
|
11149
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList) */
|
|
11140
11150
|
get relList(): DOMTokenList;
|
|
11141
11151
|
set relList(value: string);
|
|
11142
11152
|
/**
|
|
@@ -11558,7 +11568,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
11558
11568
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
|
|
11559
11569
|
*/
|
|
11560
11570
|
width: string;
|
|
11561
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11571
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/getSVGDocument) */
|
|
11562
11572
|
getSVGDocument(): Document | null;
|
|
11563
11573
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11564
11574
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11761,6 +11771,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11761
11771
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11762
11772
|
*/
|
|
11763
11773
|
defaultValue: string;
|
|
11774
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/dirName) */
|
|
11764
11775
|
dirName: string;
|
|
11765
11776
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
11766
11777
|
disabled: boolean;
|
|
@@ -14051,6 +14062,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
14051
14062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
14052
14063
|
*/
|
|
14053
14064
|
defaultValue: string;
|
|
14065
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/dirName) */
|
|
14054
14066
|
dirName: string;
|
|
14055
14067
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
14056
14068
|
disabled: boolean;
|
|
@@ -15277,7 +15289,7 @@ interface ImageData {
|
|
|
15277
15289
|
*
|
|
15278
15290
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
15279
15291
|
*/
|
|
15280
|
-
readonly data:
|
|
15292
|
+
readonly data: ImageDataArray;
|
|
15281
15293
|
/**
|
|
15282
15294
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
|
15283
15295
|
*
|
|
@@ -15295,7 +15307,7 @@ interface ImageData {
|
|
|
15295
15307
|
declare var ImageData: {
|
|
15296
15308
|
prototype: ImageData;
|
|
15297
15309
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
15298
|
-
new(data:
|
|
15310
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
15299
15311
|
};
|
|
15300
15312
|
|
|
15301
15313
|
/**
|
|
@@ -16977,6 +16989,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
16977
16989
|
readonly doNotTrack: string | null;
|
|
16978
16990
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation) */
|
|
16979
16991
|
readonly geolocation: Geolocation;
|
|
16992
|
+
/**
|
|
16993
|
+
* Available only in secure contexts.
|
|
16994
|
+
*
|
|
16995
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/login)
|
|
16996
|
+
*/
|
|
16997
|
+
readonly login: NavigatorLogin;
|
|
16980
16998
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints) */
|
|
16981
16999
|
readonly maxTouchPoints: number;
|
|
16982
17000
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities) */
|
|
@@ -17136,6 +17154,21 @@ interface NavigatorLocks {
|
|
|
17136
17154
|
readonly locks: LockManager;
|
|
17137
17155
|
}
|
|
17138
17156
|
|
|
17157
|
+
/**
|
|
17158
|
+
* Available only in secure contexts.
|
|
17159
|
+
*
|
|
17160
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin)
|
|
17161
|
+
*/
|
|
17162
|
+
interface NavigatorLogin {
|
|
17163
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin/setStatus) */
|
|
17164
|
+
setStatus(status: LoginStatus): Promise<void>;
|
|
17165
|
+
}
|
|
17166
|
+
|
|
17167
|
+
declare var NavigatorLogin: {
|
|
17168
|
+
prototype: NavigatorLogin;
|
|
17169
|
+
new(): NavigatorLogin;
|
|
17170
|
+
};
|
|
17171
|
+
|
|
17139
17172
|
interface NavigatorOnLine {
|
|
17140
17173
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */
|
|
17141
17174
|
readonly onLine: boolean;
|
|
@@ -19249,7 +19282,7 @@ interface RTCIceCandidate {
|
|
|
19249
19282
|
|
|
19250
19283
|
declare var RTCIceCandidate: {
|
|
19251
19284
|
prototype: RTCIceCandidate;
|
|
19252
|
-
new(candidateInitDict?:
|
|
19285
|
+
new(candidateInitDict?: RTCLocalIceCandidateInit): RTCIceCandidate;
|
|
19253
19286
|
};
|
|
19254
19287
|
|
|
19255
19288
|
interface RTCIceCandidatePair {
|
|
@@ -21423,6 +21456,7 @@ declare var SVGGraphicsElement: {
|
|
|
21423
21456
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
21424
21457
|
*/
|
|
21425
21458
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
21459
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossOrigin) */
|
|
21426
21460
|
crossOrigin: string | null;
|
|
21427
21461
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
21428
21462
|
readonly height: SVGAnimatedLength;
|
|
@@ -21729,8 +21763,11 @@ declare var SVGNumberList: {
|
|
|
21729
21763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement)
|
|
21730
21764
|
*/
|
|
21731
21765
|
interface SVGPathElement extends SVGGeometryElement {
|
|
21766
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/pathLength) */
|
|
21732
21767
|
readonly pathLength: SVGAnimatedNumber;
|
|
21768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getPointAtLength) */
|
|
21733
21769
|
getPointAtLength(distance: number): DOMPoint;
|
|
21770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getTotalLength) */
|
|
21734
21771
|
getTotalLength(): number;
|
|
21735
21772
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21736
21773
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22290,6 +22327,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement {
|
|
|
22290
22327
|
readonly dx: SVGAnimatedLengthList;
|
|
22291
22328
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy) */
|
|
22292
22329
|
readonly dy: SVGAnimatedLengthList;
|
|
22330
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate) */
|
|
22293
22331
|
readonly rotate: SVGAnimatedNumberList;
|
|
22294
22332
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x) */
|
|
22295
22333
|
readonly x: SVGAnimatedLengthList;
|
|
@@ -27291,6 +27329,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
27291
27329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
27292
27330
|
*/
|
|
27293
27331
|
readonly orientation: number;
|
|
27332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
27333
|
+
readonly originAgentCluster: boolean;
|
|
27294
27334
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
27295
27335
|
readonly outerHeight: number;
|
|
27296
27336
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -27474,9 +27514,9 @@ interface WindowEventHandlersEventMap {
|
|
|
27474
27514
|
"offline": Event;
|
|
27475
27515
|
"online": Event;
|
|
27476
27516
|
"pagehide": PageTransitionEvent;
|
|
27477
|
-
"pagereveal":
|
|
27517
|
+
"pagereveal": PageRevealEvent;
|
|
27478
27518
|
"pageshow": PageTransitionEvent;
|
|
27479
|
-
"pageswap":
|
|
27519
|
+
"pageswap": PageSwapEvent;
|
|
27480
27520
|
"popstate": PopStateEvent;
|
|
27481
27521
|
"rejectionhandled": PromiseRejectionEvent;
|
|
27482
27522
|
"storage": StorageEvent;
|
|
@@ -27510,11 +27550,11 @@ interface WindowEventHandlers {
|
|
|
27510
27550
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
27511
27551
|
onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
|
|
27512
27552
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
27513
|
-
onpagereveal: ((this: WindowEventHandlers, ev:
|
|
27553
|
+
onpagereveal: ((this: WindowEventHandlers, ev: PageRevealEvent) => any) | null;
|
|
27514
27554
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
27515
27555
|
onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
|
|
27516
27556
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
27517
|
-
onpageswap: ((this: WindowEventHandlers, ev:
|
|
27557
|
+
onpageswap: ((this: WindowEventHandlers, ev: PageSwapEvent) => any) | null;
|
|
27518
27558
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
27519
27559
|
onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;
|
|
27520
27560
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|
|
@@ -28928,6 +28968,8 @@ declare var opener: any;
|
|
|
28928
28968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
28929
28969
|
*/
|
|
28930
28970
|
declare var orientation: number;
|
|
28971
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
28972
|
+
declare var originAgentCluster: boolean;
|
|
28931
28973
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
28932
28974
|
declare var outerHeight: number;
|
|
28933
28975
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -29560,11 +29602,11 @@ declare var ononline: ((this: Window, ev: Event) => any) | null;
|
|
|
29560
29602
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
29561
29603
|
declare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;
|
|
29562
29604
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
29563
|
-
declare var onpagereveal: ((this: Window, ev:
|
|
29605
|
+
declare var onpagereveal: ((this: Window, ev: PageRevealEvent) => any) | null;
|
|
29564
29606
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
29565
29607
|
declare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;
|
|
29566
29608
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
29567
|
-
declare var onpageswap: ((this: Window, ev:
|
|
29609
|
+
declare var onpageswap: ((this: Window, ev: PageSwapEvent) => any) | null;
|
|
29568
29610
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
29569
29611
|
declare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;
|
|
29570
29612
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|
|
@@ -29676,6 +29718,7 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
|
29676
29718
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
29677
29719
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
29678
29720
|
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
29721
|
+
type ImageDataArray = Uint8ClampedArray;
|
|
29679
29722
|
type Int32List = Int32Array | GLint[];
|
|
29680
29723
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
29681
29724
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
|
@@ -29789,6 +29832,7 @@ type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "u
|
|
|
29789
29832
|
type LatencyMode = "quality" | "realtime";
|
|
29790
29833
|
type LineAlignSetting = "center" | "end" | "start";
|
|
29791
29834
|
type LockMode = "exclusive" | "shared";
|
|
29835
|
+
type LoginStatus = "logged-in" | "logged-out";
|
|
29792
29836
|
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
29793
29837
|
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
29794
29838
|
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;
|
|
@@ -2600,6 +2606,7 @@ interface ARIAMixin {
|
|
|
2600
2606
|
ariaValueNow: string | null;
|
|
2601
2607
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */
|
|
2602
2608
|
ariaValueText: string | null;
|
|
2609
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role) */
|
|
2603
2610
|
role: string | null;
|
|
2604
2611
|
}
|
|
2605
2612
|
|
|
@@ -6792,6 +6799,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
6792
6799
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
6793
6800
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
6794
6801
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6802
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
6795
6803
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
6796
6804
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue) */
|
|
6797
6805
|
setMatrixValue(transformList: string): DOMMatrix;
|
|
@@ -11124,7 +11132,9 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
11124
11132
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
11125
11133
|
*/
|
|
11126
11134
|
noValidate: boolean;
|
|
11135
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel) */
|
|
11127
11136
|
rel: string;
|
|
11137
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList) */
|
|
11128
11138
|
readonly relList: DOMTokenList;
|
|
11129
11139
|
/**
|
|
11130
11140
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -11544,7 +11554,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
11544
11554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)
|
|
11545
11555
|
*/
|
|
11546
11556
|
width: string;
|
|
11547
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/getSVGDocument) */
|
|
11548
11558
|
getSVGDocument(): Document | null;
|
|
11549
11559
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11550
11560
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11747,6 +11757,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11747
11757
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11748
11758
|
*/
|
|
11749
11759
|
defaultValue: string;
|
|
11760
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/dirName) */
|
|
11750
11761
|
dirName: string;
|
|
11751
11762
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
11752
11763
|
disabled: boolean;
|
|
@@ -14031,6 +14042,7 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
14031
14042
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
14032
14043
|
*/
|
|
14033
14044
|
defaultValue: string;
|
|
14045
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/dirName) */
|
|
14034
14046
|
dirName: string;
|
|
14035
14047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
14036
14048
|
disabled: boolean;
|
|
@@ -15257,7 +15269,7 @@ interface ImageData {
|
|
|
15257
15269
|
*
|
|
15258
15270
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
15259
15271
|
*/
|
|
15260
|
-
readonly data:
|
|
15272
|
+
readonly data: ImageDataArray;
|
|
15261
15273
|
/**
|
|
15262
15274
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
|
15263
15275
|
*
|
|
@@ -15275,7 +15287,7 @@ interface ImageData {
|
|
|
15275
15287
|
declare var ImageData: {
|
|
15276
15288
|
prototype: ImageData;
|
|
15277
15289
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
15278
|
-
new(data:
|
|
15290
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
15279
15291
|
};
|
|
15280
15292
|
|
|
15281
15293
|
/**
|
|
@@ -16957,6 +16969,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
16957
16969
|
readonly doNotTrack: string | null;
|
|
16958
16970
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation) */
|
|
16959
16971
|
readonly geolocation: Geolocation;
|
|
16972
|
+
/**
|
|
16973
|
+
* Available only in secure contexts.
|
|
16974
|
+
*
|
|
16975
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/login)
|
|
16976
|
+
*/
|
|
16977
|
+
readonly login: NavigatorLogin;
|
|
16960
16978
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints) */
|
|
16961
16979
|
readonly maxTouchPoints: number;
|
|
16962
16980
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities) */
|
|
@@ -17116,6 +17134,21 @@ interface NavigatorLocks {
|
|
|
17116
17134
|
readonly locks: LockManager;
|
|
17117
17135
|
}
|
|
17118
17136
|
|
|
17137
|
+
/**
|
|
17138
|
+
* Available only in secure contexts.
|
|
17139
|
+
*
|
|
17140
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin)
|
|
17141
|
+
*/
|
|
17142
|
+
interface NavigatorLogin {
|
|
17143
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin/setStatus) */
|
|
17144
|
+
setStatus(status: LoginStatus): Promise<void>;
|
|
17145
|
+
}
|
|
17146
|
+
|
|
17147
|
+
declare var NavigatorLogin: {
|
|
17148
|
+
prototype: NavigatorLogin;
|
|
17149
|
+
new(): NavigatorLogin;
|
|
17150
|
+
};
|
|
17151
|
+
|
|
17119
17152
|
interface NavigatorOnLine {
|
|
17120
17153
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */
|
|
17121
17154
|
readonly onLine: boolean;
|
|
@@ -19229,7 +19262,7 @@ interface RTCIceCandidate {
|
|
|
19229
19262
|
|
|
19230
19263
|
declare var RTCIceCandidate: {
|
|
19231
19264
|
prototype: RTCIceCandidate;
|
|
19232
|
-
new(candidateInitDict?:
|
|
19265
|
+
new(candidateInitDict?: RTCLocalIceCandidateInit): RTCIceCandidate;
|
|
19233
19266
|
};
|
|
19234
19267
|
|
|
19235
19268
|
interface RTCIceCandidatePair {
|
|
@@ -21402,6 +21435,7 @@ declare var SVGGraphicsElement: {
|
|
|
21402
21435
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
21403
21436
|
*/
|
|
21404
21437
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
21438
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossOrigin) */
|
|
21405
21439
|
crossOrigin: string | null;
|
|
21406
21440
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
21407
21441
|
readonly height: SVGAnimatedLength;
|
|
@@ -21708,8 +21742,11 @@ declare var SVGNumberList: {
|
|
|
21708
21742
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement)
|
|
21709
21743
|
*/
|
|
21710
21744
|
interface SVGPathElement extends SVGGeometryElement {
|
|
21745
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/pathLength) */
|
|
21711
21746
|
readonly pathLength: SVGAnimatedNumber;
|
|
21747
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getPointAtLength) */
|
|
21712
21748
|
getPointAtLength(distance: number): DOMPoint;
|
|
21749
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getTotalLength) */
|
|
21713
21750
|
getTotalLength(): number;
|
|
21714
21751
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
21715
21752
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22269,6 +22306,7 @@ interface SVGTextPositioningElement extends SVGTextContentElement {
|
|
|
22269
22306
|
readonly dx: SVGAnimatedLengthList;
|
|
22270
22307
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy) */
|
|
22271
22308
|
readonly dy: SVGAnimatedLengthList;
|
|
22309
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate) */
|
|
22272
22310
|
readonly rotate: SVGAnimatedNumberList;
|
|
22273
22311
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x) */
|
|
22274
22312
|
readonly x: SVGAnimatedLengthList;
|
|
@@ -27269,6 +27307,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
27269
27307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
27270
27308
|
*/
|
|
27271
27309
|
readonly orientation: number;
|
|
27310
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
27311
|
+
readonly originAgentCluster: boolean;
|
|
27272
27312
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
27273
27313
|
readonly outerHeight: number;
|
|
27274
27314
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -27452,9 +27492,9 @@ interface WindowEventHandlersEventMap {
|
|
|
27452
27492
|
"offline": Event;
|
|
27453
27493
|
"online": Event;
|
|
27454
27494
|
"pagehide": PageTransitionEvent;
|
|
27455
|
-
"pagereveal":
|
|
27495
|
+
"pagereveal": PageRevealEvent;
|
|
27456
27496
|
"pageshow": PageTransitionEvent;
|
|
27457
|
-
"pageswap":
|
|
27497
|
+
"pageswap": PageSwapEvent;
|
|
27458
27498
|
"popstate": PopStateEvent;
|
|
27459
27499
|
"rejectionhandled": PromiseRejectionEvent;
|
|
27460
27500
|
"storage": StorageEvent;
|
|
@@ -27488,11 +27528,11 @@ interface WindowEventHandlers {
|
|
|
27488
27528
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
27489
27529
|
onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
|
|
27490
27530
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
27491
|
-
onpagereveal: ((this: WindowEventHandlers, ev:
|
|
27531
|
+
onpagereveal: ((this: WindowEventHandlers, ev: PageRevealEvent) => any) | null;
|
|
27492
27532
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
27493
27533
|
onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;
|
|
27494
27534
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
27495
|
-
onpageswap: ((this: WindowEventHandlers, ev:
|
|
27535
|
+
onpageswap: ((this: WindowEventHandlers, ev: PageSwapEvent) => any) | null;
|
|
27496
27536
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
27497
27537
|
onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;
|
|
27498
27538
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|
|
@@ -28906,6 +28946,8 @@ declare var opener: any;
|
|
|
28906
28946
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
|
|
28907
28947
|
*/
|
|
28908
28948
|
declare var orientation: number;
|
|
28949
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster) */
|
|
28950
|
+
declare var originAgentCluster: boolean;
|
|
28909
28951
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight) */
|
|
28910
28952
|
declare var outerHeight: number;
|
|
28911
28953
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
@@ -29538,11 +29580,11 @@ declare var ononline: ((this: Window, ev: Event) => any) | null;
|
|
|
29538
29580
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */
|
|
29539
29581
|
declare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;
|
|
29540
29582
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */
|
|
29541
|
-
declare var onpagereveal: ((this: Window, ev:
|
|
29583
|
+
declare var onpagereveal: ((this: Window, ev: PageRevealEvent) => any) | null;
|
|
29542
29584
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */
|
|
29543
29585
|
declare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;
|
|
29544
29586
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */
|
|
29545
|
-
declare var onpageswap: ((this: Window, ev:
|
|
29587
|
+
declare var onpageswap: ((this: Window, ev: PageSwapEvent) => any) | null;
|
|
29546
29588
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */
|
|
29547
29589
|
declare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;
|
|
29548
29590
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */
|
|
@@ -29654,6 +29696,7 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
|
29654
29696
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
29655
29697
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
29656
29698
|
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
29699
|
+
type ImageDataArray = Uint8ClampedArray;
|
|
29657
29700
|
type Int32List = Int32Array | GLint[];
|
|
29658
29701
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
29659
29702
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
|
@@ -29767,6 +29810,7 @@ type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "u
|
|
|
29767
29810
|
type LatencyMode = "quality" | "realtime";
|
|
29768
29811
|
type LineAlignSetting = "center" | "end" | "start";
|
|
29769
29812
|
type LockMode = "exclusive" | "shared";
|
|
29813
|
+
type LoginStatus = "logged-in" | "logged-out";
|
|
29770
29814
|
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
29771
29815
|
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
29772
29816
|
type MIDIPortType = "input" | "output";
|