typescript 5.2.0-dev.20230621 → 5.2.0-dev.20230622
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/lib/lib.dom.d.ts +313 -90
- package/lib/lib.webworker.d.ts +172 -33
- package/lib/tsc.js +1 -1
- package/lib/tsserver.js +1 -1
- package/lib/tsserverlibrary.js +1 -1
- package/lib/typescript.js +1 -1
- package/lib/typingsInstaller.js +1 -1
- package/package.json +2 -2
package/lib/lib.dom.d.ts
CHANGED
|
@@ -750,6 +750,7 @@ interface Keyframe {
|
|
|
750
750
|
|
|
751
751
|
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
|
|
752
752
|
id?: string;
|
|
753
|
+
timeline?: AnimationTimeline | null;
|
|
753
754
|
}
|
|
754
755
|
|
|
755
756
|
interface KeyframeEffectOptions extends EffectTiming {
|
|
@@ -1034,7 +1035,7 @@ interface NotificationOptions {
|
|
|
1034
1035
|
lang?: string;
|
|
1035
1036
|
renotify?: boolean;
|
|
1036
1037
|
requireInteraction?: boolean;
|
|
1037
|
-
silent?: boolean;
|
|
1038
|
+
silent?: boolean | null;
|
|
1038
1039
|
tag?: string;
|
|
1039
1040
|
timestamp?: EpochTimeStamp;
|
|
1040
1041
|
vibrate?: VibratePattern;
|
|
@@ -1351,7 +1352,6 @@ interface RTCEncodedAudioFrameMetadata {
|
|
|
1351
1352
|
}
|
|
1352
1353
|
|
|
1353
1354
|
interface RTCEncodedVideoFrameMetadata {
|
|
1354
|
-
contributingSources?: number[];
|
|
1355
1355
|
dependencies?: number[];
|
|
1356
1356
|
frameId?: number;
|
|
1357
1357
|
height?: number;
|
|
@@ -1871,8 +1871,13 @@ interface TextDecoderOptions {
|
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
1873
|
interface TextEncoderEncodeIntoResult {
|
|
1874
|
-
read
|
|
1875
|
-
written
|
|
1874
|
+
read: number;
|
|
1875
|
+
written: number;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
interface ToggleEventInit extends EventInit {
|
|
1879
|
+
newState?: string;
|
|
1880
|
+
oldState?: string;
|
|
1876
1881
|
}
|
|
1877
1882
|
|
|
1878
1883
|
interface TouchEventInit extends EventModifierInit {
|
|
@@ -2105,6 +2110,32 @@ interface WebGLContextEventInit extends EventInit {
|
|
|
2105
2110
|
statusMessage?: string;
|
|
2106
2111
|
}
|
|
2107
2112
|
|
|
2113
|
+
interface WebTransportCloseInfo {
|
|
2114
|
+
closeCode?: number;
|
|
2115
|
+
reason?: string;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
interface WebTransportErrorOptions {
|
|
2119
|
+
source?: WebTransportErrorSource;
|
|
2120
|
+
streamErrorCode?: number | null;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
interface WebTransportHash {
|
|
2124
|
+
algorithm?: string;
|
|
2125
|
+
value?: BufferSource;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
interface WebTransportOptions {
|
|
2129
|
+
allowPooling?: boolean;
|
|
2130
|
+
congestionControl?: WebTransportCongestionControl;
|
|
2131
|
+
requireUnreliable?: boolean;
|
|
2132
|
+
serverCertificateHashes?: WebTransportHash[];
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
interface WebTransportSendStreamOptions {
|
|
2136
|
+
sendOrder?: number | null;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2108
2139
|
interface WheelEventInit extends MouseEventInit {
|
|
2109
2140
|
deltaMode?: number;
|
|
2110
2141
|
deltaX?: number;
|
|
@@ -2304,9 +2335,9 @@ interface AbortSignal extends EventTarget {
|
|
|
2304
2335
|
declare var AbortSignal: {
|
|
2305
2336
|
prototype: AbortSignal;
|
|
2306
2337
|
new(): AbortSignal;
|
|
2307
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/
|
|
2338
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
|
|
2308
2339
|
abort(reason?: any): AbortSignal;
|
|
2309
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/
|
|
2340
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
|
|
2310
2341
|
timeout(milliseconds: number): AbortSignal;
|
|
2311
2342
|
};
|
|
2312
2343
|
|
|
@@ -3344,7 +3375,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
3344
3375
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3345
3376
|
readonly media: MediaList;
|
|
3346
3377
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3347
|
-
readonly styleSheet: CSSStyleSheet;
|
|
3378
|
+
readonly styleSheet: CSSStyleSheet | null;
|
|
3348
3379
|
}
|
|
3349
3380
|
|
|
3350
3381
|
declare var CSSImportRule: {
|
|
@@ -3377,6 +3408,7 @@ declare var CSSKeyframeRule: {
|
|
|
3377
3408
|
interface CSSKeyframesRule extends CSSRule {
|
|
3378
3409
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
|
|
3379
3410
|
readonly cssRules: CSSRuleList;
|
|
3411
|
+
readonly length: number;
|
|
3380
3412
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
|
|
3381
3413
|
name: string;
|
|
3382
3414
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/appendRule) */
|
|
@@ -3597,7 +3629,7 @@ interface CSSNumericValue extends CSSStyleValue {
|
|
|
3597
3629
|
declare var CSSNumericValue: {
|
|
3598
3630
|
prototype: CSSNumericValue;
|
|
3599
3631
|
new(): CSSNumericValue;
|
|
3600
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/
|
|
3632
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static) */
|
|
3601
3633
|
parse(cssText: string): CSSNumericValue;
|
|
3602
3634
|
};
|
|
3603
3635
|
|
|
@@ -4108,8 +4140,11 @@ interface CSSStyleDeclaration {
|
|
|
4108
4140
|
fontStyle: string;
|
|
4109
4141
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis) */
|
|
4110
4142
|
fontSynthesis: string;
|
|
4143
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps) */
|
|
4111
4144
|
fontSynthesisSmallCaps: string;
|
|
4145
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style) */
|
|
4112
4146
|
fontSynthesisStyle: string;
|
|
4147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight) */
|
|
4113
4148
|
fontSynthesisWeight: string;
|
|
4114
4149
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant) */
|
|
4115
4150
|
fontVariant: string;
|
|
@@ -4129,6 +4164,8 @@ interface CSSStyleDeclaration {
|
|
|
4129
4164
|
fontVariationSettings: string;
|
|
4130
4165
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-weight) */
|
|
4131
4166
|
fontWeight: string;
|
|
4167
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust) */
|
|
4168
|
+
forcedColorAdjust: string;
|
|
4132
4169
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/gap) */
|
|
4133
4170
|
gap: string;
|
|
4134
4171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid) */
|
|
@@ -4996,12 +5033,15 @@ declare var CSSStyleDeclaration: {
|
|
|
4996
5033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule)
|
|
4997
5034
|
*/
|
|
4998
5035
|
interface CSSStyleRule extends CSSRule {
|
|
5036
|
+
readonly cssRules: CSSRuleList;
|
|
4999
5037
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText) */
|
|
5000
5038
|
selectorText: string;
|
|
5001
5039
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style) */
|
|
5002
5040
|
readonly style: CSSStyleDeclaration;
|
|
5003
5041
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap) */
|
|
5004
5042
|
readonly styleMap: StylePropertyMap;
|
|
5043
|
+
deleteRule(index: number): void;
|
|
5044
|
+
insertRule(rule: string, index?: number): number;
|
|
5005
5045
|
}
|
|
5006
5046
|
|
|
5007
5047
|
declare var CSSStyleRule: {
|
|
@@ -5060,9 +5100,9 @@ interface CSSStyleValue {
|
|
|
5060
5100
|
declare var CSSStyleValue: {
|
|
5061
5101
|
prototype: CSSStyleValue;
|
|
5062
5102
|
new(): CSSStyleValue;
|
|
5063
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/
|
|
5103
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parse_static) */
|
|
5064
5104
|
parse(property: string, cssText: string): CSSStyleValue;
|
|
5065
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/
|
|
5105
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parseAll_static) */
|
|
5066
5106
|
parseAll(property: string, cssText: string): CSSStyleValue[];
|
|
5067
5107
|
};
|
|
5068
5108
|
|
|
@@ -5438,6 +5478,8 @@ interface CanvasShadowStyles {
|
|
|
5438
5478
|
}
|
|
5439
5479
|
|
|
5440
5480
|
interface CanvasState {
|
|
5481
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
|
|
5482
|
+
reset(): void;
|
|
5441
5483
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
|
|
5442
5484
|
restore(): void;
|
|
5443
5485
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/save) */
|
|
@@ -5623,8 +5665,6 @@ declare var ClipboardEvent: {
|
|
|
5623
5665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem)
|
|
5624
5666
|
*/
|
|
5625
5667
|
interface ClipboardItem {
|
|
5626
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle) */
|
|
5627
|
-
readonly presentationStyle: PresentationStyle;
|
|
5628
5668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types) */
|
|
5629
5669
|
readonly types: ReadonlyArray<string>;
|
|
5630
5670
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType) */
|
|
@@ -6174,7 +6214,7 @@ interface DOMPoint extends DOMPointReadOnly {
|
|
|
6174
6214
|
declare var DOMPoint: {
|
|
6175
6215
|
prototype: DOMPoint;
|
|
6176
6216
|
new(x?: number, y?: number, z?: number, w?: number): DOMPoint;
|
|
6177
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/
|
|
6217
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static) */
|
|
6178
6218
|
fromPoint(other?: DOMPointInit): DOMPoint;
|
|
6179
6219
|
};
|
|
6180
6220
|
|
|
@@ -6200,7 +6240,7 @@ interface DOMPointReadOnly {
|
|
|
6200
6240
|
declare var DOMPointReadOnly: {
|
|
6201
6241
|
prototype: DOMPointReadOnly;
|
|
6202
6242
|
new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
|
|
6203
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/
|
|
6243
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static) */
|
|
6204
6244
|
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
|
|
6205
6245
|
};
|
|
6206
6246
|
|
|
@@ -6278,7 +6318,7 @@ interface DOMRectReadOnly {
|
|
|
6278
6318
|
declare var DOMRectReadOnly: {
|
|
6279
6319
|
prototype: DOMRectReadOnly;
|
|
6280
6320
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
6281
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/
|
|
6321
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static) */
|
|
6282
6322
|
fromRect(other?: DOMRectInit): DOMRectReadOnly;
|
|
6283
6323
|
};
|
|
6284
6324
|
|
|
@@ -7118,6 +7158,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7118
7158
|
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
|
|
7119
7159
|
createEvent(eventInterface: "StorageEvent"): StorageEvent;
|
|
7120
7160
|
createEvent(eventInterface: "SubmitEvent"): SubmitEvent;
|
|
7161
|
+
createEvent(eventInterface: "ToggleEvent"): ToggleEvent;
|
|
7121
7162
|
createEvent(eventInterface: "TouchEvent"): TouchEvent;
|
|
7122
7163
|
createEvent(eventInterface: "TrackEvent"): TrackEvent;
|
|
7123
7164
|
createEvent(eventInterface: "TransitionEvent"): TransitionEvent;
|
|
@@ -8865,6 +8906,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
8865
8906
|
"reset": Event;
|
|
8866
8907
|
"resize": UIEvent;
|
|
8867
8908
|
"scroll": Event;
|
|
8909
|
+
"scrollend": Event;
|
|
8868
8910
|
"securitypolicyviolation": SecurityPolicyViolationEvent;
|
|
8869
8911
|
"seeked": Event;
|
|
8870
8912
|
"seeking": Event;
|
|
@@ -9037,7 +9079,7 @@ interface GlobalEventHandlers {
|
|
|
9037
9079
|
* Fires when an error occurs during object loading.
|
|
9038
9080
|
* @param ev The event.
|
|
9039
9081
|
*
|
|
9040
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9082
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)
|
|
9041
9083
|
*/
|
|
9042
9084
|
onerror: OnErrorEventHandler;
|
|
9043
9085
|
/**
|
|
@@ -9215,6 +9257,8 @@ interface GlobalEventHandlers {
|
|
|
9215
9257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event)
|
|
9216
9258
|
*/
|
|
9217
9259
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event) */
|
|
9261
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9218
9262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event) */
|
|
9219
9263
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
9220
9264
|
/**
|
|
@@ -9636,7 +9680,7 @@ declare var HTMLBodyElement: {
|
|
|
9636
9680
|
*
|
|
9637
9681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
|
|
9638
9682
|
*/
|
|
9639
|
-
interface HTMLButtonElement extends HTMLElement {
|
|
9683
|
+
interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
9640
9684
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
|
|
9641
9685
|
disabled: boolean;
|
|
9642
9686
|
/**
|
|
@@ -10032,6 +10076,8 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10032
10076
|
readonly offsetWidth: number;
|
|
10033
10077
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText) */
|
|
10034
10078
|
outerText: string;
|
|
10079
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover) */
|
|
10080
|
+
popover: string | null;
|
|
10035
10081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck) */
|
|
10036
10082
|
spellcheck: boolean;
|
|
10037
10083
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) */
|
|
@@ -10041,6 +10087,12 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10041
10087
|
attachInternals(): ElementInternals;
|
|
10042
10088
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click) */
|
|
10043
10089
|
click(): void;
|
|
10090
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidePopover) */
|
|
10091
|
+
hidePopover(): void;
|
|
10092
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover) */
|
|
10093
|
+
showPopover(): void;
|
|
10094
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover) */
|
|
10095
|
+
togglePopover(force?: boolean): void;
|
|
10044
10096
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10045
10097
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10046
10098
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -10232,7 +10284,7 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10232
10284
|
*
|
|
10233
10285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
|
|
10234
10286
|
*/
|
|
10235
|
-
autocomplete:
|
|
10287
|
+
autocomplete: AutoFillBase;
|
|
10236
10288
|
/**
|
|
10237
10289
|
* Retrieves a collection, in source order, of all controls in a given form.
|
|
10238
10290
|
*
|
|
@@ -10885,7 +10937,7 @@ declare var HTMLImageElement: {
|
|
|
10885
10937
|
*
|
|
10886
10938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
|
|
10887
10939
|
*/
|
|
10888
|
-
interface HTMLInputElement extends HTMLElement {
|
|
10940
|
+
interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
10889
10941
|
/** Sets or retrieves a comma-separated list of content types. */
|
|
10890
10942
|
accept: string;
|
|
10891
10943
|
/**
|
|
@@ -10900,7 +10952,7 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
10900
10952
|
*
|
|
10901
10953
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
|
|
10902
10954
|
*/
|
|
10903
|
-
autocomplete:
|
|
10955
|
+
autocomplete: AutoFill;
|
|
10904
10956
|
capture: string;
|
|
10905
10957
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
10906
10958
|
checked: boolean;
|
|
@@ -12270,7 +12322,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12270
12322
|
declare var HTMLScriptElement: {
|
|
12271
12323
|
prototype: HTMLScriptElement;
|
|
12272
12324
|
new(): HTMLScriptElement;
|
|
12273
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/
|
|
12325
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/supports_static) */
|
|
12274
12326
|
supports(type: string): boolean;
|
|
12275
12327
|
};
|
|
12276
12328
|
|
|
@@ -12281,7 +12333,7 @@ declare var HTMLScriptElement: {
|
|
|
12281
12333
|
*/
|
|
12282
12334
|
interface HTMLSelectElement extends HTMLElement {
|
|
12283
12335
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
12284
|
-
autocomplete:
|
|
12336
|
+
autocomplete: AutoFill;
|
|
12285
12337
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
12286
12338
|
disabled: boolean;
|
|
12287
12339
|
/**
|
|
@@ -13083,7 +13135,7 @@ declare var HTMLTemplateElement: {
|
|
|
13083
13135
|
*/
|
|
13084
13136
|
interface HTMLTextAreaElement extends HTMLElement {
|
|
13085
13137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
|
|
13086
|
-
autocomplete:
|
|
13138
|
+
autocomplete: AutoFill;
|
|
13087
13139
|
/** Sets or retrieves the width of the object. */
|
|
13088
13140
|
cols: number;
|
|
13089
13141
|
/** Sets or retrieves the initial contents of the object. */
|
|
@@ -13391,6 +13443,8 @@ interface Headers {
|
|
|
13391
13443
|
delete(name: string): void;
|
|
13392
13444
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get) */
|
|
13393
13445
|
get(name: string): string | null;
|
|
13446
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie) */
|
|
13447
|
+
getSetCookie(): string[];
|
|
13394
13448
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has) */
|
|
13395
13449
|
has(name: string): boolean;
|
|
13396
13450
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set) */
|
|
@@ -13768,25 +13822,25 @@ declare var IDBKeyRange: {
|
|
|
13768
13822
|
/**
|
|
13769
13823
|
* Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.
|
|
13770
13824
|
*
|
|
13771
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/
|
|
13825
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static)
|
|
13772
13826
|
*/
|
|
13773
13827
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
13774
13828
|
/**
|
|
13775
13829
|
* Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.
|
|
13776
13830
|
*
|
|
13777
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/
|
|
13831
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
13778
13832
|
*/
|
|
13779
13833
|
lowerBound(lower: any, open?: boolean): IDBKeyRange;
|
|
13780
13834
|
/**
|
|
13781
13835
|
* Returns a new IDBKeyRange spanning only key.
|
|
13782
13836
|
*
|
|
13783
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/
|
|
13837
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/only_static)
|
|
13784
13838
|
*/
|
|
13785
13839
|
only(value: any): IDBKeyRange;
|
|
13786
13840
|
/**
|
|
13787
13841
|
* Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.
|
|
13788
13842
|
*
|
|
13789
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/
|
|
13843
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
13790
13844
|
*/
|
|
13791
13845
|
upperBound(upper: any, open?: boolean): IDBKeyRange;
|
|
13792
13846
|
};
|
|
@@ -14229,6 +14283,8 @@ interface InnerHTML {
|
|
|
14229
14283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputDeviceInfo)
|
|
14230
14284
|
*/
|
|
14231
14285
|
interface InputDeviceInfo extends MediaDeviceInfo {
|
|
14286
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputDeviceInfo/getCapabilities) */
|
|
14287
|
+
getCapabilities(): MediaTrackCapabilities;
|
|
14232
14288
|
}
|
|
14233
14289
|
|
|
14234
14290
|
declare var InputDeviceInfo: {
|
|
@@ -15111,7 +15167,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
15111
15167
|
declare var MediaRecorder: {
|
|
15112
15168
|
prototype: MediaRecorder;
|
|
15113
15169
|
new(stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder;
|
|
15114
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/
|
|
15170
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/isTypeSupported_static) */
|
|
15115
15171
|
isTypeSupported(type: string): boolean;
|
|
15116
15172
|
};
|
|
15117
15173
|
|
|
@@ -15177,7 +15233,7 @@ interface MediaSource extends EventTarget {
|
|
|
15177
15233
|
declare var MediaSource: {
|
|
15178
15234
|
prototype: MediaSource;
|
|
15179
15235
|
new(): MediaSource;
|
|
15180
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/
|
|
15236
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static) */
|
|
15181
15237
|
isTypeSupported(type: string): boolean;
|
|
15182
15238
|
};
|
|
15183
15239
|
|
|
@@ -16342,6 +16398,8 @@ interface Notification extends EventTarget {
|
|
|
16342
16398
|
onerror: ((this: Notification, ev: Event) => any) | null;
|
|
16343
16399
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/show_event) */
|
|
16344
16400
|
onshow: ((this: Notification, ev: Event) => any) | null;
|
|
16401
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent) */
|
|
16402
|
+
readonly silent: boolean | null;
|
|
16345
16403
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag) */
|
|
16346
16404
|
readonly tag: string;
|
|
16347
16405
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title) */
|
|
@@ -16357,9 +16415,9 @@ interface Notification extends EventTarget {
|
|
|
16357
16415
|
declare var Notification: {
|
|
16358
16416
|
prototype: Notification;
|
|
16359
16417
|
new(title: string, options?: NotificationOptions): Notification;
|
|
16360
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/
|
|
16418
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static) */
|
|
16361
16419
|
readonly permission: NotificationPermission;
|
|
16362
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/
|
|
16420
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requestPermission_static) */
|
|
16363
16421
|
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
|
|
16364
16422
|
};
|
|
16365
16423
|
|
|
@@ -17099,7 +17157,7 @@ interface PerformanceObserver {
|
|
|
17099
17157
|
declare var PerformanceObserver: {
|
|
17100
17158
|
prototype: PerformanceObserver;
|
|
17101
17159
|
new(callback: PerformanceObserverCallback): PerformanceObserver;
|
|
17102
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/
|
|
17160
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static) */
|
|
17103
17161
|
readonly supportedEntryTypes: ReadonlyArray<string>;
|
|
17104
17162
|
};
|
|
17105
17163
|
|
|
@@ -17577,6 +17635,13 @@ declare var PopStateEvent: {
|
|
|
17577
17635
|
new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
|
|
17578
17636
|
};
|
|
17579
17637
|
|
|
17638
|
+
interface PopoverInvokerElement {
|
|
17639
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
|
|
17640
|
+
popoverTargetAction: string;
|
|
17641
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
|
|
17642
|
+
popoverTargetElement: Element | null;
|
|
17643
|
+
}
|
|
17644
|
+
|
|
17580
17645
|
/**
|
|
17581
17646
|
* A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them.
|
|
17582
17647
|
*
|
|
@@ -17645,7 +17710,7 @@ declare var PublicKeyCredential: {
|
|
|
17645
17710
|
prototype: PublicKeyCredential;
|
|
17646
17711
|
new(): PublicKeyCredential;
|
|
17647
17712
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17648
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/
|
|
17713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17649
17714
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
17650
17715
|
};
|
|
17651
17716
|
|
|
@@ -17667,7 +17732,7 @@ interface PushManager {
|
|
|
17667
17732
|
declare var PushManager: {
|
|
17668
17733
|
prototype: PushManager;
|
|
17669
17734
|
new(): PushManager;
|
|
17670
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/
|
|
17735
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static) */
|
|
17671
17736
|
readonly supportedContentEncodings: ReadonlyArray<string>;
|
|
17672
17737
|
};
|
|
17673
17738
|
|
|
@@ -18112,7 +18177,7 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
18112
18177
|
declare var RTCPeerConnection: {
|
|
18113
18178
|
prototype: RTCPeerConnection;
|
|
18114
18179
|
new(configuration?: RTCConfiguration): RTCPeerConnection;
|
|
18115
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/
|
|
18180
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/generateCertificate_static) */
|
|
18116
18181
|
generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;
|
|
18117
18182
|
};
|
|
18118
18183
|
|
|
@@ -18172,7 +18237,7 @@ interface RTCRtpReceiver {
|
|
|
18172
18237
|
declare var RTCRtpReceiver: {
|
|
18173
18238
|
prototype: RTCRtpReceiver;
|
|
18174
18239
|
new(): RTCRtpReceiver;
|
|
18175
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/
|
|
18240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getCapabilities_static) */
|
|
18176
18241
|
getCapabilities(kind: string): RTCRtpCapabilities | null;
|
|
18177
18242
|
};
|
|
18178
18243
|
|
|
@@ -18203,7 +18268,7 @@ interface RTCRtpSender {
|
|
|
18203
18268
|
declare var RTCRtpSender: {
|
|
18204
18269
|
prototype: RTCRtpSender;
|
|
18205
18270
|
new(): RTCRtpSender;
|
|
18206
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/
|
|
18271
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/getCapabilities_static) */
|
|
18207
18272
|
getCapabilities(kind: string): RTCRtpCapabilities | null;
|
|
18208
18273
|
};
|
|
18209
18274
|
|
|
@@ -18748,9 +18813,11 @@ interface Response extends Body {
|
|
|
18748
18813
|
declare var Response: {
|
|
18749
18814
|
prototype: Response;
|
|
18750
18815
|
new(body?: BodyInit | null, init?: ResponseInit): Response;
|
|
18751
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/
|
|
18816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
|
|
18752
18817
|
error(): Response;
|
|
18753
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/
|
|
18818
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
18819
|
+
json(data: any, init?: ResponseInit): Response;
|
|
18820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
18754
18821
|
redirect(url: string | URL, status?: number): Response;
|
|
18755
18822
|
};
|
|
18756
18823
|
|
|
@@ -20915,8 +20982,6 @@ interface ScreenOrientation extends EventTarget {
|
|
|
20915
20982
|
onchange: ((this: ScreenOrientation, ev: Event) => any) | null;
|
|
20916
20983
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */
|
|
20917
20984
|
readonly type: OrientationType;
|
|
20918
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock) */
|
|
20919
|
-
lock(orientation: OrientationLockType): Promise<void>;
|
|
20920
20985
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock) */
|
|
20921
20986
|
unlock(): void;
|
|
20922
20987
|
addEventListener<K extends keyof ScreenOrientationEventMap>(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -21110,7 +21175,6 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
21110
21175
|
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
|
|
21111
21176
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
|
|
21112
21177
|
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
21113
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
|
|
21114
21178
|
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
21115
21179
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
|
|
21116
21180
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
@@ -21847,7 +21911,7 @@ interface TextDecoder extends TextDecoderCommon {
|
|
|
21847
21911
|
*
|
|
21848
21912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
|
|
21849
21913
|
*/
|
|
21850
|
-
decode(input?:
|
|
21914
|
+
decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string;
|
|
21851
21915
|
}
|
|
21852
21916
|
|
|
21853
21917
|
declare var TextDecoder: {
|
|
@@ -22229,6 +22293,19 @@ declare var TimeRanges: {
|
|
|
22229
22293
|
new(): TimeRanges;
|
|
22230
22294
|
};
|
|
22231
22295
|
|
|
22296
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
22297
|
+
interface ToggleEvent extends Event {
|
|
22298
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
22299
|
+
readonly newState: string;
|
|
22300
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
22301
|
+
readonly oldState: string;
|
|
22302
|
+
}
|
|
22303
|
+
|
|
22304
|
+
declare var ToggleEvent: {
|
|
22305
|
+
prototype: ToggleEvent;
|
|
22306
|
+
new(type: string, eventInitDict?: ToggleEventInit): ToggleEvent;
|
|
22307
|
+
};
|
|
22308
|
+
|
|
22232
22309
|
/**
|
|
22233
22310
|
* A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.
|
|
22234
22311
|
*
|
|
@@ -22481,9 +22558,11 @@ interface URL {
|
|
|
22481
22558
|
declare var URL: {
|
|
22482
22559
|
prototype: URL;
|
|
22483
22560
|
new(url: string | URL, base?: string | URL): URL;
|
|
22484
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/
|
|
22561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
22562
|
+
canParse(url: string | URL, base?: string): boolean;
|
|
22563
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
|
22485
22564
|
createObjectURL(obj: Blob | MediaSource): string;
|
|
22486
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/
|
|
22565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
|
22487
22566
|
revokeObjectURL(url: string): void;
|
|
22488
22567
|
};
|
|
22489
22568
|
|
|
@@ -22492,6 +22571,8 @@ declare var webkitURL: typeof URL;
|
|
|
22492
22571
|
|
|
22493
22572
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
|
|
22494
22573
|
interface URLSearchParams {
|
|
22574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
|
|
22575
|
+
readonly size: number;
|
|
22495
22576
|
/**
|
|
22496
22577
|
* Appends a specified key/value pair as a new search parameter.
|
|
22497
22578
|
*
|
|
@@ -22503,7 +22584,7 @@ interface URLSearchParams {
|
|
|
22503
22584
|
*
|
|
22504
22585
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)
|
|
22505
22586
|
*/
|
|
22506
|
-
delete(name: string): void;
|
|
22587
|
+
delete(name: string, value?: string): void;
|
|
22507
22588
|
/**
|
|
22508
22589
|
* Returns the first value associated to the given search parameter.
|
|
22509
22590
|
*
|
|
@@ -22521,7 +22602,7 @@ interface URLSearchParams {
|
|
|
22521
22602
|
*
|
|
22522
22603
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)
|
|
22523
22604
|
*/
|
|
22524
|
-
has(name: string): boolean;
|
|
22605
|
+
has(name: string, value?: string): boolean;
|
|
22525
22606
|
/**
|
|
22526
22607
|
* Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
|
|
22527
22608
|
*
|
|
@@ -22621,6 +22702,7 @@ declare var VTTRegion: {
|
|
|
22621
22702
|
interface ValidityState {
|
|
22622
22703
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */
|
|
22623
22704
|
readonly badInput: boolean;
|
|
22705
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */
|
|
22624
22706
|
readonly customError: boolean;
|
|
22625
22707
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */
|
|
22626
22708
|
readonly patternMismatch: boolean;
|
|
@@ -22636,7 +22718,9 @@ interface ValidityState {
|
|
|
22636
22718
|
readonly tooShort: boolean;
|
|
22637
22719
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */
|
|
22638
22720
|
readonly typeMismatch: boolean;
|
|
22721
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */
|
|
22639
22722
|
readonly valid: boolean;
|
|
22723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */
|
|
22640
22724
|
readonly valueMissing: boolean;
|
|
22641
22725
|
}
|
|
22642
22726
|
|
|
@@ -25351,6 +25435,96 @@ declare var WebSocket: {
|
|
|
25351
25435
|
readonly CLOSED: 3;
|
|
25352
25436
|
};
|
|
25353
25437
|
|
|
25438
|
+
/**
|
|
25439
|
+
* Available only in secure contexts.
|
|
25440
|
+
*
|
|
25441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
|
|
25442
|
+
*/
|
|
25443
|
+
interface WebTransport {
|
|
25444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed) */
|
|
25445
|
+
readonly closed: Promise<WebTransportCloseInfo>;
|
|
25446
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams) */
|
|
25447
|
+
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
25448
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingBidirectionalStreams) */
|
|
25449
|
+
readonly incomingBidirectionalStreams: ReadableStream;
|
|
25450
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams) */
|
|
25451
|
+
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
25452
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready) */
|
|
25453
|
+
readonly ready: Promise<undefined>;
|
|
25454
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/close) */
|
|
25455
|
+
close(closeInfo?: WebTransportCloseInfo): void;
|
|
25456
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream) */
|
|
25457
|
+
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
25458
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream) */
|
|
25459
|
+
createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;
|
|
25460
|
+
}
|
|
25461
|
+
|
|
25462
|
+
declare var WebTransport: {
|
|
25463
|
+
prototype: WebTransport;
|
|
25464
|
+
new(url: string | URL, options?: WebTransportOptions): WebTransport;
|
|
25465
|
+
};
|
|
25466
|
+
|
|
25467
|
+
/**
|
|
25468
|
+
* Available only in secure contexts.
|
|
25469
|
+
*
|
|
25470
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)
|
|
25471
|
+
*/
|
|
25472
|
+
interface WebTransportBidirectionalStream {
|
|
25473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/readable) */
|
|
25474
|
+
readonly readable: ReadableStream;
|
|
25475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/writable) */
|
|
25476
|
+
readonly writable: WritableStream;
|
|
25477
|
+
}
|
|
25478
|
+
|
|
25479
|
+
declare var WebTransportBidirectionalStream: {
|
|
25480
|
+
prototype: WebTransportBidirectionalStream;
|
|
25481
|
+
new(): WebTransportBidirectionalStream;
|
|
25482
|
+
};
|
|
25483
|
+
|
|
25484
|
+
/**
|
|
25485
|
+
* Available only in secure contexts.
|
|
25486
|
+
*
|
|
25487
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)
|
|
25488
|
+
*/
|
|
25489
|
+
interface WebTransportDatagramDuplexStream {
|
|
25490
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark) */
|
|
25491
|
+
incomingHighWaterMark: number;
|
|
25492
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */
|
|
25493
|
+
incomingMaxAge: number;
|
|
25494
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize) */
|
|
25495
|
+
readonly maxDatagramSize: number;
|
|
25496
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark) */
|
|
25497
|
+
outgoingHighWaterMark: number;
|
|
25498
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */
|
|
25499
|
+
outgoingMaxAge: number;
|
|
25500
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */
|
|
25501
|
+
readonly readable: ReadableStream;
|
|
25502
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
|
|
25503
|
+
readonly writable: WritableStream;
|
|
25504
|
+
}
|
|
25505
|
+
|
|
25506
|
+
declare var WebTransportDatagramDuplexStream: {
|
|
25507
|
+
prototype: WebTransportDatagramDuplexStream;
|
|
25508
|
+
new(): WebTransportDatagramDuplexStream;
|
|
25509
|
+
};
|
|
25510
|
+
|
|
25511
|
+
/**
|
|
25512
|
+
* Available only in secure contexts.
|
|
25513
|
+
*
|
|
25514
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)
|
|
25515
|
+
*/
|
|
25516
|
+
interface WebTransportError extends DOMException {
|
|
25517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/source) */
|
|
25518
|
+
readonly source: WebTransportErrorSource;
|
|
25519
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/streamErrorCode) */
|
|
25520
|
+
readonly streamErrorCode: number | null;
|
|
25521
|
+
}
|
|
25522
|
+
|
|
25523
|
+
declare var WebTransportError: {
|
|
25524
|
+
prototype: WebTransportError;
|
|
25525
|
+
new(message?: string, options?: WebTransportErrorOptions): WebTransportError;
|
|
25526
|
+
};
|
|
25527
|
+
|
|
25354
25528
|
/**
|
|
25355
25529
|
* Events that occur due to the user moving a mouse wheel or similar input device.
|
|
25356
25530
|
*
|
|
@@ -26294,96 +26468,120 @@ declare var console: Console;
|
|
|
26294
26468
|
|
|
26295
26469
|
/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
|
|
26296
26470
|
declare namespace CSS {
|
|
26297
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26471
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26298
26472
|
function Hz(value: number): CSSUnitValue;
|
|
26299
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26300
26474
|
function Q(value: number): CSSUnitValue;
|
|
26301
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26302
26476
|
function ch(value: number): CSSUnitValue;
|
|
26303
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26304
26478
|
function cm(value: number): CSSUnitValue;
|
|
26479
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26305
26480
|
function cqb(value: number): CSSUnitValue;
|
|
26481
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26306
26482
|
function cqh(value: number): CSSUnitValue;
|
|
26483
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26307
26484
|
function cqi(value: number): CSSUnitValue;
|
|
26485
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26308
26486
|
function cqmax(value: number): CSSUnitValue;
|
|
26487
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26309
26488
|
function cqmin(value: number): CSSUnitValue;
|
|
26489
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26310
26490
|
function cqw(value: number): CSSUnitValue;
|
|
26311
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26491
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26312
26492
|
function deg(value: number): CSSUnitValue;
|
|
26313
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26493
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26314
26494
|
function dpcm(value: number): CSSUnitValue;
|
|
26315
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26316
26496
|
function dpi(value: number): CSSUnitValue;
|
|
26317
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26497
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26318
26498
|
function dppx(value: number): CSSUnitValue;
|
|
26499
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26319
26500
|
function dvb(value: number): CSSUnitValue;
|
|
26501
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26320
26502
|
function dvh(value: number): CSSUnitValue;
|
|
26503
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26321
26504
|
function dvi(value: number): CSSUnitValue;
|
|
26505
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26322
26506
|
function dvmax(value: number): CSSUnitValue;
|
|
26507
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26323
26508
|
function dvmin(value: number): CSSUnitValue;
|
|
26509
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26324
26510
|
function dvw(value: number): CSSUnitValue;
|
|
26325
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26511
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26326
26512
|
function em(value: number): CSSUnitValue;
|
|
26327
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26513
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/escape_static) */
|
|
26328
26514
|
function escape(ident: string): string;
|
|
26329
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26515
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26330
26516
|
function ex(value: number): CSSUnitValue;
|
|
26331
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26332
26518
|
function fr(value: number): CSSUnitValue;
|
|
26333
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26519
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26334
26520
|
function grad(value: number): CSSUnitValue;
|
|
26335
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26521
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26336
26522
|
function kHz(value: number): CSSUnitValue;
|
|
26523
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26337
26524
|
function lvb(value: number): CSSUnitValue;
|
|
26525
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26338
26526
|
function lvh(value: number): CSSUnitValue;
|
|
26527
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26339
26528
|
function lvi(value: number): CSSUnitValue;
|
|
26529
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26340
26530
|
function lvmax(value: number): CSSUnitValue;
|
|
26531
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26341
26532
|
function lvmin(value: number): CSSUnitValue;
|
|
26533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26342
26534
|
function lvw(value: number): CSSUnitValue;
|
|
26343
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26535
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26344
26536
|
function mm(value: number): CSSUnitValue;
|
|
26345
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26346
26538
|
function ms(value: number): CSSUnitValue;
|
|
26347
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26539
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26348
26540
|
function number(value: number): CSSUnitValue;
|
|
26349
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26541
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26350
26542
|
function pc(value: number): CSSUnitValue;
|
|
26351
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26352
26544
|
function percent(value: number): CSSUnitValue;
|
|
26353
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26545
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26354
26546
|
function pt(value: number): CSSUnitValue;
|
|
26355
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26356
26548
|
function px(value: number): CSSUnitValue;
|
|
26357
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26549
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26358
26550
|
function rad(value: number): CSSUnitValue;
|
|
26359
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
|
|
26360
26552
|
function registerProperty(definition: PropertyDefinition): void;
|
|
26361
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26362
26554
|
function rem(value: number): CSSUnitValue;
|
|
26363
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26364
26556
|
function s(value: number): CSSUnitValue;
|
|
26365
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/supports_static) */
|
|
26366
26558
|
function supports(property: string, value: string): boolean;
|
|
26367
26559
|
function supports(conditionText: string): boolean;
|
|
26560
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26368
26561
|
function svb(value: number): CSSUnitValue;
|
|
26562
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26369
26563
|
function svh(value: number): CSSUnitValue;
|
|
26564
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26370
26565
|
function svi(value: number): CSSUnitValue;
|
|
26566
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26371
26567
|
function svmax(value: number): CSSUnitValue;
|
|
26568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26372
26569
|
function svmin(value: number): CSSUnitValue;
|
|
26570
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26373
26571
|
function svw(value: number): CSSUnitValue;
|
|
26374
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26375
26573
|
function turn(value: number): CSSUnitValue;
|
|
26376
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26377
26575
|
function vb(value: number): CSSUnitValue;
|
|
26378
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26576
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26379
26577
|
function vh(value: number): CSSUnitValue;
|
|
26380
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26578
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26381
26579
|
function vi(value: number): CSSUnitValue;
|
|
26382
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26580
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26383
26581
|
function vmax(value: number): CSSUnitValue;
|
|
26384
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26582
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26385
26583
|
function vmin(value: number): CSSUnitValue;
|
|
26386
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/
|
|
26584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26387
26585
|
function vw(value: number): CSSUnitValue;
|
|
26388
26586
|
}
|
|
26389
26587
|
|
|
@@ -26398,16 +26596,16 @@ declare namespace WebAssembly {
|
|
|
26398
26596
|
};
|
|
26399
26597
|
|
|
26400
26598
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Global) */
|
|
26401
|
-
interface Global {
|
|
26599
|
+
interface Global<T extends ValueType = ValueType> {
|
|
26402
26600
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Global/value) */
|
|
26403
|
-
value:
|
|
26601
|
+
value: ValueTypeMap[T];
|
|
26404
26602
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Global/valueOf) */
|
|
26405
|
-
valueOf():
|
|
26603
|
+
valueOf(): ValueTypeMap[T];
|
|
26406
26604
|
}
|
|
26407
26605
|
|
|
26408
26606
|
var Global: {
|
|
26409
26607
|
prototype: Global;
|
|
26410
|
-
new(descriptor: GlobalDescriptor
|
|
26608
|
+
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
26411
26609
|
};
|
|
26412
26610
|
|
|
26413
26611
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance) */
|
|
@@ -26484,9 +26682,9 @@ declare namespace WebAssembly {
|
|
|
26484
26682
|
new(descriptor: TableDescriptor, value?: any): Table;
|
|
26485
26683
|
};
|
|
26486
26684
|
|
|
26487
|
-
interface GlobalDescriptor {
|
|
26685
|
+
interface GlobalDescriptor<T extends ValueType = ValueType> {
|
|
26488
26686
|
mutable?: boolean;
|
|
26489
|
-
value:
|
|
26687
|
+
value: T;
|
|
26490
26688
|
}
|
|
26491
26689
|
|
|
26492
26690
|
interface MemoryDescriptor {
|
|
@@ -26512,6 +26710,16 @@ declare namespace WebAssembly {
|
|
|
26512
26710
|
maximum?: number;
|
|
26513
26711
|
}
|
|
26514
26712
|
|
|
26713
|
+
interface ValueTypeMap {
|
|
26714
|
+
anyfunc: Function;
|
|
26715
|
+
externref: any;
|
|
26716
|
+
f32: number;
|
|
26717
|
+
f64: number;
|
|
26718
|
+
i32: number;
|
|
26719
|
+
i64: bigint;
|
|
26720
|
+
v128: never;
|
|
26721
|
+
}
|
|
26722
|
+
|
|
26515
26723
|
interface WebAssemblyInstantiatedSource {
|
|
26516
26724
|
instance: Instance;
|
|
26517
26725
|
module: Module;
|
|
@@ -26519,12 +26727,12 @@ declare namespace WebAssembly {
|
|
|
26519
26727
|
|
|
26520
26728
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
26521
26729
|
type TableKind = "anyfunc" | "externref";
|
|
26522
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
26523
26730
|
type ExportValue = Function | Global | Memory | Table;
|
|
26524
26731
|
type Exports = Record<string, ExportValue>;
|
|
26525
26732
|
type ImportValue = ExportValue | number;
|
|
26526
26733
|
type Imports = Record<string, ModuleImports>;
|
|
26527
26734
|
type ModuleImports = Record<string, ImportValue>;
|
|
26735
|
+
type ValueType = keyof ValueTypeMap;
|
|
26528
26736
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/compile) */
|
|
26529
26737
|
function compile(bytes: BufferSource): Promise<Module>;
|
|
26530
26738
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/compileStreaming) */
|
|
@@ -27368,7 +27576,7 @@ declare var onended: ((this: Window, ev: Event) => any) | null;
|
|
|
27368
27576
|
* Fires when an error occurs during object loading.
|
|
27369
27577
|
* @param ev The event.
|
|
27370
27578
|
*
|
|
27371
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27579
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)
|
|
27372
27580
|
*/
|
|
27373
27581
|
declare var onerror: OnErrorEventHandler;
|
|
27374
27582
|
/**
|
|
@@ -27546,6 +27754,8 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null;
|
|
|
27546
27754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event)
|
|
27547
27755
|
*/
|
|
27548
27756
|
declare var onscroll: ((this: Window, ev: Event) => any) | null;
|
|
27757
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event) */
|
|
27758
|
+
declare var onscrollend: ((this: Window, ev: Event) => any) | null;
|
|
27549
27759
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event) */
|
|
27550
27760
|
declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
27551
27761
|
/**
|
|
@@ -27742,6 +27952,10 @@ declare function addEventListener(type: string, listener: EventListenerOrEventLi
|
|
|
27742
27952
|
declare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
27743
27953
|
declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
27744
27954
|
type AlgorithmIdentifier = Algorithm | string;
|
|
27955
|
+
type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
|
|
27956
|
+
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
|
|
27957
|
+
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
|
|
27958
|
+
type AutoFillSection = `section-${string}`;
|
|
27745
27959
|
type BigInteger = Uint8Array;
|
|
27746
27960
|
type BinaryData = ArrayBuffer | ArrayBufferView;
|
|
27747
27961
|
type BlobPart = BufferSource | Blob | string;
|
|
@@ -27792,6 +28006,8 @@ type NamedCurve = string;
|
|
|
27792
28006
|
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
27793
28007
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
27794
28008
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
28009
|
+
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
28010
|
+
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
27795
28011
|
type PerformanceEntryList = PerformanceEntry[];
|
|
27796
28012
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
27797
28013
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -27816,6 +28032,12 @@ type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
|
27816
28032
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
27817
28033
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
27818
28034
|
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
28035
|
+
type AutoFillAddressKind = "billing" | "shipping";
|
|
28036
|
+
type AutoFillBase = "" | "off" | "on";
|
|
28037
|
+
type AutoFillContactField = "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national";
|
|
28038
|
+
type AutoFillContactKind = "home" | "mobile" | "work";
|
|
28039
|
+
type AutoFillCredentialField = "webauthn";
|
|
28040
|
+
type AutoFillNormalField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "name" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username";
|
|
27819
28041
|
type AutoKeyword = "auto";
|
|
27820
28042
|
type AutomationRate = "a-rate" | "k-rate";
|
|
27821
28043
|
type AvcBitstreamFormat = "annexb" | "avc";
|
|
@@ -27898,7 +28120,6 @@ type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"
|
|
|
27898
28120
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
27899
28121
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
27900
28122
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
27901
|
-
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
27902
28123
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
27903
28124
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
27904
28125
|
type OverSampleType = "2x" | "4x" | "none";
|
|
@@ -27936,7 +28157,7 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
27936
28157
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
27937
28158
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
27938
28159
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
27939
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "
|
|
28160
|
+
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
|
|
27940
28161
|
type ReadableStreamReaderMode = "byob";
|
|
27941
28162
|
type ReadableStreamType = "bytes";
|
|
27942
28163
|
type ReadyState = "closed" | "ended" | "open";
|
|
@@ -27976,6 +28197,8 @@ type VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I422" | "I444" | "
|
|
|
27976
28197
|
type VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";
|
|
27977
28198
|
type WakeLockType = "screen";
|
|
27978
28199
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
28200
|
+
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
|
|
28201
|
+
type WebTransportErrorSource = "session" | "stream";
|
|
27979
28202
|
type WorkerType = "classic" | "module";
|
|
27980
28203
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
27981
28204
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|