@types/web 0.0.337 → 0.0.339
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +185 -5
- package/package.json +1 -1
- package/ts5.5/index.d.ts +185 -5
- package/ts5.6/index.d.ts +185 -5
- package/ts5.9/index.d.ts +185 -5
package/ts5.5/index.d.ts
CHANGED
|
@@ -408,6 +408,10 @@ interface CloseEventInit extends EventInit {
|
|
|
408
408
|
wasClean?: boolean;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
+
interface CloseWatcherOptions {
|
|
412
|
+
signal?: AbortSignal;
|
|
413
|
+
}
|
|
414
|
+
|
|
411
415
|
interface CommandEventInit extends EventInit {
|
|
412
416
|
command?: string;
|
|
413
417
|
source?: Element | null;
|
|
@@ -1182,7 +1186,7 @@ interface GamepadEffectParameters {
|
|
|
1182
1186
|
}
|
|
1183
1187
|
|
|
1184
1188
|
interface GamepadEventInit extends EventInit {
|
|
1185
|
-
gamepad
|
|
1189
|
+
gamepad?: Gamepad | null;
|
|
1186
1190
|
}
|
|
1187
1191
|
|
|
1188
1192
|
interface GetAnimationsOptions {
|
|
@@ -3118,6 +3122,23 @@ interface WebTransportCloseInfo {
|
|
|
3118
3122
|
reason?: string;
|
|
3119
3123
|
}
|
|
3120
3124
|
|
|
3125
|
+
interface WebTransportConnectionStats {
|
|
3126
|
+
bytesReceived?: number;
|
|
3127
|
+
datagrams: WebTransportDatagramStats;
|
|
3128
|
+
minRtt?: DOMHighResTimeStamp;
|
|
3129
|
+
packetsLost?: number;
|
|
3130
|
+
packetsReceived?: number;
|
|
3131
|
+
packetsSent?: number;
|
|
3132
|
+
rttVariation?: DOMHighResTimeStamp;
|
|
3133
|
+
smoothedRtt?: DOMHighResTimeStamp;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
interface WebTransportDatagramStats {
|
|
3137
|
+
droppedIncoming?: number;
|
|
3138
|
+
expiredOutgoing?: number;
|
|
3139
|
+
lostOutgoing?: number;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3121
3142
|
interface WebTransportErrorOptions {
|
|
3122
3143
|
source?: WebTransportErrorSource;
|
|
3123
3144
|
streamErrorCode?: number | null;
|
|
@@ -3136,6 +3157,11 @@ interface WebTransportOptions {
|
|
|
3136
3157
|
serverCertificateHashes?: WebTransportHash[];
|
|
3137
3158
|
}
|
|
3138
3159
|
|
|
3160
|
+
interface WebTransportReceiveStreamStats {
|
|
3161
|
+
bytesRead?: number;
|
|
3162
|
+
bytesReceived?: number;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3139
3165
|
interface WebTransportSendOptions {
|
|
3140
3166
|
sendOrder?: number;
|
|
3141
3167
|
}
|
|
@@ -3143,6 +3169,12 @@ interface WebTransportSendOptions {
|
|
|
3143
3169
|
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
|
|
3144
3170
|
}
|
|
3145
3171
|
|
|
3172
|
+
interface WebTransportSendStreamStats {
|
|
3173
|
+
bytesAcknowledged?: number;
|
|
3174
|
+
bytesSent?: number;
|
|
3175
|
+
bytesWritten?: number;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3146
3178
|
interface WheelEventInit extends MouseEventInit {
|
|
3147
3179
|
deltaMode?: number;
|
|
3148
3180
|
deltaX?: number;
|
|
@@ -5357,7 +5389,7 @@ declare var CSSFontFaceRule: {
|
|
|
5357
5389
|
};
|
|
5358
5390
|
|
|
5359
5391
|
/**
|
|
5360
|
-
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the
|
|
5392
|
+
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
|
|
5361
5393
|
*
|
|
5362
5394
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
|
|
5363
5395
|
*/
|
|
@@ -6808,7 +6840,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6808
6840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6809
6841
|
*/
|
|
6810
6842
|
backgroundSize: string;
|
|
6811
|
-
/**
|
|
6843
|
+
/**
|
|
6844
|
+
* The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute.
|
|
6845
|
+
*
|
|
6846
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-shift)
|
|
6847
|
+
*/
|
|
6812
6848
|
baselineShift: string;
|
|
6813
6849
|
/**
|
|
6814
6850
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -10785,6 +10821,50 @@ declare var CloseEvent: {
|
|
|
10785
10821
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
10786
10822
|
};
|
|
10787
10823
|
|
|
10824
|
+
interface CloseWatcherEventMap {
|
|
10825
|
+
"cancel": Event;
|
|
10826
|
+
"close": Event;
|
|
10827
|
+
}
|
|
10828
|
+
|
|
10829
|
+
/**
|
|
10830
|
+
* The **`CloseWatcher`** interface allows a custom UI component with open and close semantics to respond to device-specific close actions in the same way as a built-in component.
|
|
10831
|
+
*
|
|
10832
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher)
|
|
10833
|
+
*/
|
|
10834
|
+
interface CloseWatcher extends EventTarget {
|
|
10835
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/cancel_event) */
|
|
10836
|
+
oncancel: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close_event) */
|
|
10838
|
+
onclose: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10839
|
+
/**
|
|
10840
|
+
* The **`close()`** method of the CloseWatcher interface lets you skip any logic in the cancel event handler and immediately fire the close event. It then deactivates the close watcher as if destroy() was called.
|
|
10841
|
+
*
|
|
10842
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close)
|
|
10843
|
+
*/
|
|
10844
|
+
close(): void;
|
|
10845
|
+
/**
|
|
10846
|
+
* The **`destroy()`** method of the CloseWatcher interface deactivates the close watcher. This is intended to be called if the relevant UI element is torn down in some other way than being closed.
|
|
10847
|
+
*
|
|
10848
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/destroy)
|
|
10849
|
+
*/
|
|
10850
|
+
destroy(): void;
|
|
10851
|
+
/**
|
|
10852
|
+
* The **`requestClose()`** method of the CloseWatcher interface fires a cancel event and if that event is not canceled with Event.preventDefault(), proceeds to fire a close event, and then finally deactivates the close watcher as if destroy() was called.
|
|
10853
|
+
*
|
|
10854
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/requestClose)
|
|
10855
|
+
*/
|
|
10856
|
+
requestClose(): void;
|
|
10857
|
+
addEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10858
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10859
|
+
removeEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
10860
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
10861
|
+
}
|
|
10862
|
+
|
|
10863
|
+
declare var CloseWatcher: {
|
|
10864
|
+
prototype: CloseWatcher;
|
|
10865
|
+
new(options?: CloseWatcherOptions): CloseWatcher;
|
|
10866
|
+
};
|
|
10867
|
+
|
|
10788
10868
|
/**
|
|
10789
10869
|
* The **`CommandEvent`** interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
|
|
10790
10870
|
*
|
|
@@ -11223,6 +11303,7 @@ interface CustomElementRegistry {
|
|
|
11223
11303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
11224
11304
|
*/
|
|
11225
11305
|
getName(constructor: CustomElementConstructor): string | null;
|
|
11306
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
|
|
11226
11307
|
initialize(root: Node): void;
|
|
11227
11308
|
/**
|
|
11228
11309
|
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
|
|
@@ -13221,6 +13302,7 @@ interface DocumentOrShadowRoot {
|
|
|
13221
13302
|
readonly activeElement: Element | null;
|
|
13222
13303
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
|
|
13223
13304
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13305
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry) */
|
|
13224
13306
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13225
13307
|
/**
|
|
13226
13308
|
* Returns document's fullscreen element.
|
|
@@ -13530,6 +13612,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13530
13612
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
|
|
13531
13613
|
*/
|
|
13532
13614
|
readonly currentCSSZoom: number;
|
|
13615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
|
|
13533
13616
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13534
13617
|
/**
|
|
13535
13618
|
* The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
|
|
@@ -16432,7 +16515,7 @@ interface GamepadEvent extends Event {
|
|
|
16432
16515
|
|
|
16433
16516
|
declare var GamepadEvent: {
|
|
16434
16517
|
prototype: GamepadEvent;
|
|
16435
|
-
new(type: string, eventInitDict
|
|
16518
|
+
new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent;
|
|
16436
16519
|
};
|
|
16437
16520
|
|
|
16438
16521
|
/**
|
|
@@ -18748,6 +18831,12 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
18748
18831
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
18749
18832
|
*/
|
|
18750
18833
|
checked: boolean;
|
|
18834
|
+
/**
|
|
18835
|
+
* The **`colorSpace`** property of the HTMLInputElement interface reflects the <input> element's colorspace attribute, which indicates whether the color space of the serialized CSS color is sRGB (the default) or display-p3. It is only relevant to color controls.
|
|
18836
|
+
*
|
|
18837
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/colorSpace)
|
|
18838
|
+
*/
|
|
18839
|
+
colorSpace: string;
|
|
18751
18840
|
/**
|
|
18752
18841
|
* The **`defaultChecked`** property of the HTMLInputElement interface specifies the default checkedness state of the element. This property reflects the <input> element's checked attribute.
|
|
18753
18842
|
*
|
|
@@ -19549,6 +19638,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
19549
19638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)
|
|
19550
19639
|
*/
|
|
19551
19640
|
canPlayType(type: string): CanPlayTypeResult;
|
|
19641
|
+
/**
|
|
19642
|
+
* The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
|
|
19643
|
+
*
|
|
19644
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
|
|
19645
|
+
*/
|
|
19646
|
+
captureStream(): MediaStream;
|
|
19552
19647
|
/**
|
|
19553
19648
|
* The **`HTMLMediaElement.fastSeek()`** method quickly seeks the media to the new time with precision tradeoff.
|
|
19554
19649
|
*
|
|
@@ -21283,6 +21378,7 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
21283
21378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
|
|
21284
21379
|
*/
|
|
21285
21380
|
shadowRootClonable: boolean;
|
|
21381
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
|
|
21286
21382
|
shadowRootCustomElementRegistry: string;
|
|
21287
21383
|
/**
|
|
21288
21384
|
* The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
|
|
@@ -27875,6 +27971,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27875
27971
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
|
|
27876
27972
|
*/
|
|
27877
27973
|
readonly decodedBodySize: number;
|
|
27974
|
+
/**
|
|
27975
|
+
* The **`deliveryType`** read-only property is a string indicating how the resource was delivered — for example from the cache or from a navigational prefetch.
|
|
27976
|
+
*
|
|
27977
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/deliveryType)
|
|
27978
|
+
*/
|
|
27979
|
+
readonly deliveryType: string;
|
|
27878
27980
|
/**
|
|
27879
27981
|
* The **`domainLookupEnd`** read-only property returns the timestamp immediately after the browser finishes the domain-name lookup for the resource.
|
|
27880
27982
|
*
|
|
@@ -27899,6 +28001,18 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27899
28001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)
|
|
27900
28002
|
*/
|
|
27901
28003
|
readonly fetchStart: DOMHighResTimeStamp;
|
|
28004
|
+
/**
|
|
28005
|
+
* The **`finalResponseHeadersStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the final document response (for example, 200 OK) from the server.
|
|
28006
|
+
*
|
|
28007
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/finalResponseHeadersStart)
|
|
28008
|
+
*/
|
|
28009
|
+
readonly finalResponseHeadersStart: DOMHighResTimeStamp;
|
|
28010
|
+
/**
|
|
28011
|
+
* The **`firstInterimResponseStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the interim 1xx response (for example, 100 Continue or 103 Early Hints) from the server.
|
|
28012
|
+
*
|
|
28013
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/firstInterimResponseStart)
|
|
28014
|
+
*/
|
|
28015
|
+
readonly firstInterimResponseStart: DOMHighResTimeStamp;
|
|
27902
28016
|
/**
|
|
27903
28017
|
* The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.
|
|
27904
28018
|
*
|
|
@@ -30329,7 +30443,7 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
30329
30443
|
*
|
|
30330
30444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
30331
30445
|
*/
|
|
30332
|
-
enqueue(chunk
|
|
30446
|
+
enqueue(chunk: R): void;
|
|
30333
30447
|
/**
|
|
30334
30448
|
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
30335
30449
|
*
|
|
@@ -40915,6 +41029,12 @@ interface WebTransport {
|
|
|
40915
41029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)
|
|
40916
41030
|
*/
|
|
40917
41031
|
readonly closed: Promise<WebTransportCloseInfo>;
|
|
41032
|
+
/**
|
|
41033
|
+
* The **`congestionControl`** read-only property of the WebTransport interface indicates the application's preference for either high throughput or low-latency when sending data.
|
|
41034
|
+
*
|
|
41035
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/congestionControl)
|
|
41036
|
+
*/
|
|
41037
|
+
readonly congestionControl: WebTransportCongestionControl;
|
|
40918
41038
|
/**
|
|
40919
41039
|
* The **`datagrams`** read-only property of the WebTransport interface returns a WebTransportDatagramDuplexStream instance that can be used to send and receive datagrams — unreliable data transmission.
|
|
40920
41040
|
*
|
|
@@ -40933,12 +41053,19 @@ interface WebTransport {
|
|
|
40933
41053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
40934
41054
|
*/
|
|
40935
41055
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
41056
|
+
readonly protocol: string;
|
|
40936
41057
|
/**
|
|
40937
41058
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
40938
41059
|
*
|
|
40939
41060
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)
|
|
40940
41061
|
*/
|
|
40941
41062
|
readonly ready: Promise<void>;
|
|
41063
|
+
/**
|
|
41064
|
+
* The **`reliability`** read-only property of the WebTransport interface indicates whether the connection supports reliable transports only, or whether it also supports unreliable transports (such as UDP).
|
|
41065
|
+
*
|
|
41066
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
|
|
41067
|
+
*/
|
|
41068
|
+
readonly reliability: WebTransportReliabilityMode;
|
|
40942
41069
|
/**
|
|
40943
41070
|
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
|
|
40944
41071
|
*
|
|
@@ -40957,6 +41084,12 @@ interface WebTransport {
|
|
|
40957
41084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)
|
|
40958
41085
|
*/
|
|
40959
41086
|
createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;
|
|
41087
|
+
/**
|
|
41088
|
+
* The **`getStats()`** method of the WebTransport interface asynchronously returns an object containing HTTP/3 connection statistics.
|
|
41089
|
+
*
|
|
41090
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/getStats)
|
|
41091
|
+
*/
|
|
41092
|
+
getStats(): Promise<WebTransportConnectionStats>;
|
|
40960
41093
|
}
|
|
40961
41094
|
|
|
40962
41095
|
declare var WebTransport: {
|
|
@@ -41072,6 +41205,52 @@ declare var WebTransportError: {
|
|
|
41072
41205
|
new(message?: string, options?: WebTransportErrorOptions): WebTransportError;
|
|
41073
41206
|
};
|
|
41074
41207
|
|
|
41208
|
+
/**
|
|
41209
|
+
* The **`WebTransportReceiveStream`** interface of the WebTransport API is a ReadableStream that can be used to read from an incoming unidirectional or bidirectional WebTransport stream.
|
|
41210
|
+
* Available only in secure contexts.
|
|
41211
|
+
*
|
|
41212
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream)
|
|
41213
|
+
*/
|
|
41214
|
+
interface WebTransportReceiveStream extends ReadableStream {
|
|
41215
|
+
/**
|
|
41216
|
+
* The **`getStats()`** method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41217
|
+
*
|
|
41218
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream/getStats)
|
|
41219
|
+
*/
|
|
41220
|
+
getStats(): Promise<WebTransportReceiveStreamStats>;
|
|
41221
|
+
}
|
|
41222
|
+
|
|
41223
|
+
declare var WebTransportReceiveStream: {
|
|
41224
|
+
prototype: WebTransportReceiveStream;
|
|
41225
|
+
new(): WebTransportReceiveStream;
|
|
41226
|
+
};
|
|
41227
|
+
|
|
41228
|
+
/**
|
|
41229
|
+
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
41230
|
+
* Available only in secure contexts.
|
|
41231
|
+
*
|
|
41232
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
41233
|
+
*/
|
|
41234
|
+
interface WebTransportSendStream extends WritableStream {
|
|
41235
|
+
/**
|
|
41236
|
+
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
41237
|
+
*
|
|
41238
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendOrder)
|
|
41239
|
+
*/
|
|
41240
|
+
sendOrder: number;
|
|
41241
|
+
/**
|
|
41242
|
+
* The **`getStats()`** method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41243
|
+
*
|
|
41244
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/getStats)
|
|
41245
|
+
*/
|
|
41246
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
41247
|
+
}
|
|
41248
|
+
|
|
41249
|
+
declare var WebTransportSendStream: {
|
|
41250
|
+
prototype: WebTransportSendStream;
|
|
41251
|
+
new(): WebTransportSendStream;
|
|
41252
|
+
};
|
|
41253
|
+
|
|
41075
41254
|
/**
|
|
41076
41255
|
* The **`WheelEvent`** interface represents events that occur due to the user moving a mouse wheel or similar input device.
|
|
41077
41256
|
*
|
|
@@ -44432,6 +44611,7 @@ type WakeLockType = "screen";
|
|
|
44432
44611
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
44433
44612
|
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
|
|
44434
44613
|
type WebTransportErrorSource = "session" | "stream";
|
|
44614
|
+
type WebTransportReliabilityMode = "pending" | "reliable-only" | "supports-unreliable";
|
|
44435
44615
|
type WorkerType = "classic" | "module";
|
|
44436
44616
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
44437
44617
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|