@types/web 0.0.292 → 0.0.293
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 +37 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +37 -6
- package/ts5.6/index.d.ts +37 -6
- package/ts5.9/index.d.ts +37 -6
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.293 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.293.
|
package/index.d.ts
CHANGED
|
@@ -10300,7 +10300,9 @@ declare var CompositionEvent: {
|
|
|
10300
10300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10301
10301
|
*/
|
|
10302
10302
|
interface CompressionStream extends GenericTransformStream {
|
|
10303
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10303
10304
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
10305
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10304
10306
|
readonly writable: WritableStream<BufferSource>;
|
|
10305
10307
|
}
|
|
10306
10308
|
|
|
@@ -11781,7 +11783,9 @@ declare var DataTransferItemList: {
|
|
|
11781
11783
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11782
11784
|
*/
|
|
11783
11785
|
interface DecompressionStream extends GenericTransformStream {
|
|
11786
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11784
11787
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
11788
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11785
11789
|
readonly writable: WritableStream<BufferSource>;
|
|
11786
11790
|
}
|
|
11787
11791
|
|
|
@@ -12283,7 +12287,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12283
12287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
|
|
12284
12288
|
*/
|
|
12285
12289
|
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
|
|
12286
|
-
/**
|
|
12290
|
+
/**
|
|
12291
|
+
* The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
|
|
12292
|
+
* @deprecated
|
|
12293
|
+
*/
|
|
12287
12294
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
12288
12295
|
/**
|
|
12289
12296
|
* The **`Document.clear()`** method does nothing, but doesn't raise any error.
|
|
@@ -12480,6 +12487,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12480
12487
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
|
|
12481
12488
|
*/
|
|
12482
12489
|
exitPointerLock(): void;
|
|
12490
|
+
/** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12483
12491
|
getElementById(elementId: string): HTMLElement | null;
|
|
12484
12492
|
/**
|
|
12485
12493
|
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
@@ -12623,6 +12631,7 @@ declare var Document: {
|
|
|
12623
12631
|
*/
|
|
12624
12632
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
12625
12633
|
readonly ownerDocument: Document;
|
|
12634
|
+
/** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12626
12635
|
getElementById(elementId: string): HTMLElement | null;
|
|
12627
12636
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
12628
12637
|
get textContent(): string;
|
|
@@ -15927,6 +15936,7 @@ declare var HTMLDivElement: {
|
|
|
15927
15936
|
new(): HTMLDivElement;
|
|
15928
15937
|
};
|
|
15929
15938
|
|
|
15939
|
+
/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */
|
|
15930
15940
|
interface HTMLDocument extends Document {
|
|
15931
15941
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15932
15942
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -17157,7 +17167,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17157
17167
|
*/
|
|
17158
17168
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
17159
17169
|
/**
|
|
17160
|
-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text.
|
|
17170
|
+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17161
17171
|
*
|
|
17162
17172
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
|
|
17163
17173
|
*/
|
|
@@ -23686,6 +23696,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
23686
23696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
|
|
23687
23697
|
*/
|
|
23688
23698
|
readonly credentials: CredentialsContainer;
|
|
23699
|
+
/** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */
|
|
23689
23700
|
readonly doNotTrack: string | null;
|
|
23690
23701
|
/**
|
|
23691
23702
|
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location.
|
|
@@ -26975,7 +26986,11 @@ interface RTCEncodedAudioFrame {
|
|
|
26975
26986
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
26976
26987
|
*/
|
|
26977
26988
|
data: ArrayBuffer;
|
|
26978
|
-
/**
|
|
26989
|
+
/**
|
|
26990
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
26991
|
+
*
|
|
26992
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
26993
|
+
*/
|
|
26979
26994
|
readonly timestamp: number;
|
|
26980
26995
|
/**
|
|
26981
26996
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -27002,7 +27017,11 @@ interface RTCEncodedVideoFrame {
|
|
|
27002
27017
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
27003
27018
|
*/
|
|
27004
27019
|
data: ArrayBuffer;
|
|
27005
|
-
/**
|
|
27020
|
+
/**
|
|
27021
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
27022
|
+
*
|
|
27023
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
27024
|
+
*/
|
|
27006
27025
|
readonly timestamp: number;
|
|
27007
27026
|
/**
|
|
27008
27027
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -28611,7 +28630,7 @@ declare var Response: {
|
|
|
28611
28630
|
*/
|
|
28612
28631
|
error(): Response;
|
|
28613
28632
|
/**
|
|
28614
|
-
* The **`json()`** method of the Response interface
|
|
28633
|
+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
|
|
28615
28634
|
*
|
|
28616
28635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
28617
28636
|
*/
|
|
@@ -34241,7 +34260,9 @@ interface TextDecoderCommon {
|
|
|
34241
34260
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34242
34261
|
*/
|
|
34243
34262
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34263
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34244
34264
|
readonly readable: ReadableStream<string>;
|
|
34265
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34245
34266
|
readonly writable: WritableStream<BufferSource>;
|
|
34246
34267
|
}
|
|
34247
34268
|
|
|
@@ -34290,7 +34311,9 @@ interface TextEncoderCommon {
|
|
|
34290
34311
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34291
34312
|
*/
|
|
34292
34313
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34314
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34293
34315
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
34316
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34294
34317
|
readonly writable: WritableStream<string>;
|
|
34295
34318
|
}
|
|
34296
34319
|
|
|
@@ -38819,7 +38842,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
38819
38842
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
38820
38843
|
*/
|
|
38821
38844
|
readonly readable: ReadableStream;
|
|
38822
|
-
/**
|
|
38845
|
+
/**
|
|
38846
|
+
* The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream.
|
|
38847
|
+
*
|
|
38848
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
38849
|
+
*/
|
|
38823
38850
|
readonly writable: WritableStream;
|
|
38824
38851
|
}
|
|
38825
38852
|
|
|
@@ -40229,6 +40256,7 @@ declare namespace CSS {
|
|
|
40229
40256
|
}
|
|
40230
40257
|
|
|
40231
40258
|
declare namespace WebAssembly {
|
|
40259
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
40232
40260
|
interface CompileError extends Error {
|
|
40233
40261
|
}
|
|
40234
40262
|
|
|
@@ -40303,6 +40331,7 @@ declare namespace WebAssembly {
|
|
|
40303
40331
|
new(module: Module, importObject?: Imports): Instance;
|
|
40304
40332
|
};
|
|
40305
40333
|
|
|
40334
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
40306
40335
|
interface LinkError extends Error {
|
|
40307
40336
|
}
|
|
40308
40337
|
|
|
@@ -40368,6 +40397,7 @@ declare namespace WebAssembly {
|
|
|
40368
40397
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
40369
40398
|
};
|
|
40370
40399
|
|
|
40400
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
40371
40401
|
interface RuntimeError extends Error {
|
|
40372
40402
|
}
|
|
40373
40403
|
|
|
@@ -40618,6 +40648,7 @@ interface Console {
|
|
|
40618
40648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
40619
40649
|
*/
|
|
40620
40650
|
timeLog(label?: string, ...data: any[]): void;
|
|
40651
|
+
/** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
|
|
40621
40652
|
timeStamp(label?: string): void;
|
|
40622
40653
|
/**
|
|
40623
40654
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -10289,7 +10289,9 @@ declare var CompositionEvent: {
|
|
|
10289
10289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10290
10290
|
*/
|
|
10291
10291
|
interface CompressionStream extends GenericTransformStream {
|
|
10292
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10292
10293
|
readonly readable: ReadableStream<Uint8Array>;
|
|
10294
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10293
10295
|
readonly writable: WritableStream<BufferSource>;
|
|
10294
10296
|
}
|
|
10295
10297
|
|
|
@@ -11770,7 +11772,9 @@ declare var DataTransferItemList: {
|
|
|
11770
11772
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11771
11773
|
*/
|
|
11772
11774
|
interface DecompressionStream extends GenericTransformStream {
|
|
11775
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11773
11776
|
readonly readable: ReadableStream<Uint8Array>;
|
|
11777
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11774
11778
|
readonly writable: WritableStream<BufferSource>;
|
|
11775
11779
|
}
|
|
11776
11780
|
|
|
@@ -12272,7 +12276,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12272
12276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
|
|
12273
12277
|
*/
|
|
12274
12278
|
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
|
|
12275
|
-
/**
|
|
12279
|
+
/**
|
|
12280
|
+
* The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
|
|
12281
|
+
* @deprecated
|
|
12282
|
+
*/
|
|
12276
12283
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
12277
12284
|
/**
|
|
12278
12285
|
* The **`Document.clear()`** method does nothing, but doesn't raise any error.
|
|
@@ -12469,6 +12476,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12469
12476
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
|
|
12470
12477
|
*/
|
|
12471
12478
|
exitPointerLock(): void;
|
|
12479
|
+
/** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12472
12480
|
getElementById(elementId: string): HTMLElement | null;
|
|
12473
12481
|
/**
|
|
12474
12482
|
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
@@ -12612,6 +12620,7 @@ declare var Document: {
|
|
|
12612
12620
|
*/
|
|
12613
12621
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
12614
12622
|
readonly ownerDocument: Document;
|
|
12623
|
+
/** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12615
12624
|
getElementById(elementId: string): HTMLElement | null;
|
|
12616
12625
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
12617
12626
|
get textContent(): string;
|
|
@@ -15911,6 +15920,7 @@ declare var HTMLDivElement: {
|
|
|
15911
15920
|
new(): HTMLDivElement;
|
|
15912
15921
|
};
|
|
15913
15922
|
|
|
15923
|
+
/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */
|
|
15914
15924
|
interface HTMLDocument extends Document {
|
|
15915
15925
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15916
15926
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -17139,7 +17149,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17139
17149
|
*/
|
|
17140
17150
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
17141
17151
|
/**
|
|
17142
|
-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text.
|
|
17152
|
+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17143
17153
|
*
|
|
17144
17154
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
|
|
17145
17155
|
*/
|
|
@@ -23662,6 +23672,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
23662
23672
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
|
|
23663
23673
|
*/
|
|
23664
23674
|
readonly credentials: CredentialsContainer;
|
|
23675
|
+
/** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */
|
|
23665
23676
|
readonly doNotTrack: string | null;
|
|
23666
23677
|
/**
|
|
23667
23678
|
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location.
|
|
@@ -26951,7 +26962,11 @@ interface RTCEncodedAudioFrame {
|
|
|
26951
26962
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
26952
26963
|
*/
|
|
26953
26964
|
data: ArrayBuffer;
|
|
26954
|
-
/**
|
|
26965
|
+
/**
|
|
26966
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
26967
|
+
*
|
|
26968
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
26969
|
+
*/
|
|
26955
26970
|
readonly timestamp: number;
|
|
26956
26971
|
/**
|
|
26957
26972
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -26978,7 +26993,11 @@ interface RTCEncodedVideoFrame {
|
|
|
26978
26993
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
26979
26994
|
*/
|
|
26980
26995
|
data: ArrayBuffer;
|
|
26981
|
-
/**
|
|
26996
|
+
/**
|
|
26997
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
26998
|
+
*
|
|
26999
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
27000
|
+
*/
|
|
26982
27001
|
readonly timestamp: number;
|
|
26983
27002
|
/**
|
|
26984
27003
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -28587,7 +28606,7 @@ declare var Response: {
|
|
|
28587
28606
|
*/
|
|
28588
28607
|
error(): Response;
|
|
28589
28608
|
/**
|
|
28590
|
-
* The **`json()`** method of the Response interface
|
|
28609
|
+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
|
|
28591
28610
|
*
|
|
28592
28611
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
28593
28612
|
*/
|
|
@@ -34215,7 +34234,9 @@ interface TextDecoderCommon {
|
|
|
34215
34234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34216
34235
|
*/
|
|
34217
34236
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34237
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34218
34238
|
readonly readable: ReadableStream<string>;
|
|
34239
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34219
34240
|
readonly writable: WritableStream<BufferSource>;
|
|
34220
34241
|
}
|
|
34221
34242
|
|
|
@@ -34264,7 +34285,9 @@ interface TextEncoderCommon {
|
|
|
34264
34285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34265
34286
|
*/
|
|
34266
34287
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34288
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34267
34289
|
readonly readable: ReadableStream<Uint8Array>;
|
|
34290
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34268
34291
|
readonly writable: WritableStream<string>;
|
|
34269
34292
|
}
|
|
34270
34293
|
|
|
@@ -38793,7 +38816,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
38793
38816
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
38794
38817
|
*/
|
|
38795
38818
|
readonly readable: ReadableStream;
|
|
38796
|
-
/**
|
|
38819
|
+
/**
|
|
38820
|
+
* The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream.
|
|
38821
|
+
*
|
|
38822
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
38823
|
+
*/
|
|
38797
38824
|
readonly writable: WritableStream;
|
|
38798
38825
|
}
|
|
38799
38826
|
|
|
@@ -40203,6 +40230,7 @@ declare namespace CSS {
|
|
|
40203
40230
|
}
|
|
40204
40231
|
|
|
40205
40232
|
declare namespace WebAssembly {
|
|
40233
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
40206
40234
|
interface CompileError extends Error {
|
|
40207
40235
|
}
|
|
40208
40236
|
|
|
@@ -40277,6 +40305,7 @@ declare namespace WebAssembly {
|
|
|
40277
40305
|
new(module: Module, importObject?: Imports): Instance;
|
|
40278
40306
|
};
|
|
40279
40307
|
|
|
40308
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
40280
40309
|
interface LinkError extends Error {
|
|
40281
40310
|
}
|
|
40282
40311
|
|
|
@@ -40342,6 +40371,7 @@ declare namespace WebAssembly {
|
|
|
40342
40371
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
40343
40372
|
};
|
|
40344
40373
|
|
|
40374
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
40345
40375
|
interface RuntimeError extends Error {
|
|
40346
40376
|
}
|
|
40347
40377
|
|
|
@@ -40592,6 +40622,7 @@ interface Console {
|
|
|
40592
40622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
40593
40623
|
*/
|
|
40594
40624
|
timeLog(label?: string, ...data: any[]): void;
|
|
40625
|
+
/** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
|
|
40595
40626
|
timeStamp(label?: string): void;
|
|
40596
40627
|
/**
|
|
40597
40628
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -10297,7 +10297,9 @@ declare var CompositionEvent: {
|
|
|
10297
10297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10298
10298
|
*/
|
|
10299
10299
|
interface CompressionStream extends GenericTransformStream {
|
|
10300
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10300
10301
|
readonly readable: ReadableStream<Uint8Array>;
|
|
10302
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10301
10303
|
readonly writable: WritableStream<BufferSource>;
|
|
10302
10304
|
}
|
|
10303
10305
|
|
|
@@ -11778,7 +11780,9 @@ declare var DataTransferItemList: {
|
|
|
11778
11780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11779
11781
|
*/
|
|
11780
11782
|
interface DecompressionStream extends GenericTransformStream {
|
|
11783
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11781
11784
|
readonly readable: ReadableStream<Uint8Array>;
|
|
11785
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11782
11786
|
readonly writable: WritableStream<BufferSource>;
|
|
11783
11787
|
}
|
|
11784
11788
|
|
|
@@ -12280,7 +12284,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12280
12284
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
|
|
12281
12285
|
*/
|
|
12282
12286
|
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
|
|
12283
|
-
/**
|
|
12287
|
+
/**
|
|
12288
|
+
* The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
|
|
12289
|
+
* @deprecated
|
|
12290
|
+
*/
|
|
12284
12291
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
12285
12292
|
/**
|
|
12286
12293
|
* The **`Document.clear()`** method does nothing, but doesn't raise any error.
|
|
@@ -12477,6 +12484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12477
12484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
|
|
12478
12485
|
*/
|
|
12479
12486
|
exitPointerLock(): void;
|
|
12487
|
+
/** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12480
12488
|
getElementById(elementId: string): HTMLElement | null;
|
|
12481
12489
|
/**
|
|
12482
12490
|
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
@@ -12620,6 +12628,7 @@ declare var Document: {
|
|
|
12620
12628
|
*/
|
|
12621
12629
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
12622
12630
|
readonly ownerDocument: Document;
|
|
12631
|
+
/** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12623
12632
|
getElementById(elementId: string): HTMLElement | null;
|
|
12624
12633
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
12625
12634
|
get textContent(): string;
|
|
@@ -15924,6 +15933,7 @@ declare var HTMLDivElement: {
|
|
|
15924
15933
|
new(): HTMLDivElement;
|
|
15925
15934
|
};
|
|
15926
15935
|
|
|
15936
|
+
/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */
|
|
15927
15937
|
interface HTMLDocument extends Document {
|
|
15928
15938
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15929
15939
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -17154,7 +17164,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17154
17164
|
*/
|
|
17155
17165
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
17156
17166
|
/**
|
|
17157
|
-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text.
|
|
17167
|
+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17158
17168
|
*
|
|
17159
17169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
|
|
17160
17170
|
*/
|
|
@@ -23683,6 +23693,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
23683
23693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
|
|
23684
23694
|
*/
|
|
23685
23695
|
readonly credentials: CredentialsContainer;
|
|
23696
|
+
/** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */
|
|
23686
23697
|
readonly doNotTrack: string | null;
|
|
23687
23698
|
/**
|
|
23688
23699
|
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location.
|
|
@@ -26972,7 +26983,11 @@ interface RTCEncodedAudioFrame {
|
|
|
26972
26983
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
26973
26984
|
*/
|
|
26974
26985
|
data: ArrayBuffer;
|
|
26975
|
-
/**
|
|
26986
|
+
/**
|
|
26987
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
26988
|
+
*
|
|
26989
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
26990
|
+
*/
|
|
26976
26991
|
readonly timestamp: number;
|
|
26977
26992
|
/**
|
|
26978
26993
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -26999,7 +27014,11 @@ interface RTCEncodedVideoFrame {
|
|
|
26999
27014
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
27000
27015
|
*/
|
|
27001
27016
|
data: ArrayBuffer;
|
|
27002
|
-
/**
|
|
27017
|
+
/**
|
|
27018
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
27019
|
+
*
|
|
27020
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
27021
|
+
*/
|
|
27003
27022
|
readonly timestamp: number;
|
|
27004
27023
|
/**
|
|
27005
27024
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -28608,7 +28627,7 @@ declare var Response: {
|
|
|
28608
28627
|
*/
|
|
28609
28628
|
error(): Response;
|
|
28610
28629
|
/**
|
|
28611
|
-
* The **`json()`** method of the Response interface
|
|
28630
|
+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
|
|
28612
28631
|
*
|
|
28613
28632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
28614
28633
|
*/
|
|
@@ -34238,7 +34257,9 @@ interface TextDecoderCommon {
|
|
|
34238
34257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34239
34258
|
*/
|
|
34240
34259
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34260
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34241
34261
|
readonly readable: ReadableStream<string>;
|
|
34262
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34242
34263
|
readonly writable: WritableStream<BufferSource>;
|
|
34243
34264
|
}
|
|
34244
34265
|
|
|
@@ -34287,7 +34308,9 @@ interface TextEncoderCommon {
|
|
|
34287
34308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34288
34309
|
*/
|
|
34289
34310
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34311
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34290
34312
|
readonly readable: ReadableStream<Uint8Array>;
|
|
34313
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34291
34314
|
readonly writable: WritableStream<string>;
|
|
34292
34315
|
}
|
|
34293
34316
|
|
|
@@ -38816,7 +38839,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
38816
38839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
38817
38840
|
*/
|
|
38818
38841
|
readonly readable: ReadableStream;
|
|
38819
|
-
/**
|
|
38842
|
+
/**
|
|
38843
|
+
* The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream.
|
|
38844
|
+
*
|
|
38845
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
38846
|
+
*/
|
|
38820
38847
|
readonly writable: WritableStream;
|
|
38821
38848
|
}
|
|
38822
38849
|
|
|
@@ -40226,6 +40253,7 @@ declare namespace CSS {
|
|
|
40226
40253
|
}
|
|
40227
40254
|
|
|
40228
40255
|
declare namespace WebAssembly {
|
|
40256
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
40229
40257
|
interface CompileError extends Error {
|
|
40230
40258
|
}
|
|
40231
40259
|
|
|
@@ -40300,6 +40328,7 @@ declare namespace WebAssembly {
|
|
|
40300
40328
|
new(module: Module, importObject?: Imports): Instance;
|
|
40301
40329
|
};
|
|
40302
40330
|
|
|
40331
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
40303
40332
|
interface LinkError extends Error {
|
|
40304
40333
|
}
|
|
40305
40334
|
|
|
@@ -40365,6 +40394,7 @@ declare namespace WebAssembly {
|
|
|
40365
40394
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
40366
40395
|
};
|
|
40367
40396
|
|
|
40397
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
40368
40398
|
interface RuntimeError extends Error {
|
|
40369
40399
|
}
|
|
40370
40400
|
|
|
@@ -40615,6 +40645,7 @@ interface Console {
|
|
|
40615
40645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
40616
40646
|
*/
|
|
40617
40647
|
timeLog(label?: string, ...data: any[]): void;
|
|
40648
|
+
/** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
|
|
40618
40649
|
timeStamp(label?: string): void;
|
|
40619
40650
|
/**
|
|
40620
40651
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -10297,7 +10297,9 @@ declare var CompositionEvent: {
|
|
|
10297
10297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
10298
10298
|
*/
|
|
10299
10299
|
interface CompressionStream extends GenericTransformStream {
|
|
10300
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
10300
10301
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
10302
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
10301
10303
|
readonly writable: WritableStream<BufferSource>;
|
|
10302
10304
|
}
|
|
10303
10305
|
|
|
@@ -11778,7 +11780,9 @@ declare var DataTransferItemList: {
|
|
|
11778
11780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
11779
11781
|
*/
|
|
11780
11782
|
interface DecompressionStream extends GenericTransformStream {
|
|
11783
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
11781
11784
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
11785
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
11782
11786
|
readonly writable: WritableStream<BufferSource>;
|
|
11783
11787
|
}
|
|
11784
11788
|
|
|
@@ -12280,7 +12284,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12280
12284
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
|
|
12281
12285
|
*/
|
|
12282
12286
|
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
|
|
12283
|
-
/**
|
|
12287
|
+
/**
|
|
12288
|
+
* The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
|
|
12289
|
+
* @deprecated
|
|
12290
|
+
*/
|
|
12284
12291
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
12285
12292
|
/**
|
|
12286
12293
|
* The **`Document.clear()`** method does nothing, but doesn't raise any error.
|
|
@@ -12477,6 +12484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
12477
12484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
|
|
12478
12485
|
*/
|
|
12479
12486
|
exitPointerLock(): void;
|
|
12487
|
+
/** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12480
12488
|
getElementById(elementId: string): HTMLElement | null;
|
|
12481
12489
|
/**
|
|
12482
12490
|
* The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
|
|
@@ -12620,6 +12628,7 @@ declare var Document: {
|
|
|
12620
12628
|
*/
|
|
12621
12629
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
12622
12630
|
readonly ownerDocument: Document;
|
|
12631
|
+
/** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */
|
|
12623
12632
|
getElementById(elementId: string): HTMLElement | null;
|
|
12624
12633
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
12625
12634
|
get textContent(): string;
|
|
@@ -15924,6 +15933,7 @@ declare var HTMLDivElement: {
|
|
|
15924
15933
|
new(): HTMLDivElement;
|
|
15925
15934
|
};
|
|
15926
15935
|
|
|
15936
|
+
/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */
|
|
15927
15937
|
interface HTMLDocument extends Document {
|
|
15928
15938
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15929
15939
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -17154,7 +17164,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17154
17164
|
*/
|
|
17155
17165
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
17156
17166
|
/**
|
|
17157
|
-
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text.
|
|
17167
|
+
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17158
17168
|
*
|
|
17159
17169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
|
|
17160
17170
|
*/
|
|
@@ -23683,6 +23693,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
23683
23693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
|
|
23684
23694
|
*/
|
|
23685
23695
|
readonly credentials: CredentialsContainer;
|
|
23696
|
+
/** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */
|
|
23686
23697
|
readonly doNotTrack: string | null;
|
|
23687
23698
|
/**
|
|
23688
23699
|
* The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location.
|
|
@@ -26972,7 +26983,11 @@ interface RTCEncodedAudioFrame {
|
|
|
26972
26983
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
26973
26984
|
*/
|
|
26974
26985
|
data: ArrayBuffer;
|
|
26975
|
-
/**
|
|
26986
|
+
/**
|
|
26987
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
26988
|
+
*
|
|
26989
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
26990
|
+
*/
|
|
26976
26991
|
readonly timestamp: number;
|
|
26977
26992
|
/**
|
|
26978
26993
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -26999,7 +27014,11 @@ interface RTCEncodedVideoFrame {
|
|
|
26999
27014
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
27000
27015
|
*/
|
|
27001
27016
|
data: ArrayBuffer;
|
|
27002
|
-
/**
|
|
27017
|
+
/**
|
|
27018
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
27019
|
+
*
|
|
27020
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
27021
|
+
*/
|
|
27003
27022
|
readonly timestamp: number;
|
|
27004
27023
|
/**
|
|
27005
27024
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -28608,7 +28627,7 @@ declare var Response: {
|
|
|
28608
28627
|
*/
|
|
28609
28628
|
error(): Response;
|
|
28610
28629
|
/**
|
|
28611
|
-
* The **`json()`** method of the Response interface
|
|
28630
|
+
* The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
|
|
28612
28631
|
*
|
|
28613
28632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
28614
28633
|
*/
|
|
@@ -34238,7 +34257,9 @@ interface TextDecoderCommon {
|
|
|
34238
34257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
34239
34258
|
*/
|
|
34240
34259
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
34260
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
34241
34261
|
readonly readable: ReadableStream<string>;
|
|
34262
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
34242
34263
|
readonly writable: WritableStream<BufferSource>;
|
|
34243
34264
|
}
|
|
34244
34265
|
|
|
@@ -34287,7 +34308,9 @@ interface TextEncoderCommon {
|
|
|
34287
34308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
34288
34309
|
*/
|
|
34289
34310
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
34311
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
34290
34312
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
34313
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
34291
34314
|
readonly writable: WritableStream<string>;
|
|
34292
34315
|
}
|
|
34293
34316
|
|
|
@@ -38816,7 +38839,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
38816
38839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
38817
38840
|
*/
|
|
38818
38841
|
readonly readable: ReadableStream;
|
|
38819
|
-
/**
|
|
38842
|
+
/**
|
|
38843
|
+
* The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream.
|
|
38844
|
+
*
|
|
38845
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
38846
|
+
*/
|
|
38820
38847
|
readonly writable: WritableStream;
|
|
38821
38848
|
}
|
|
38822
38849
|
|
|
@@ -40226,6 +40253,7 @@ declare namespace CSS {
|
|
|
40226
40253
|
}
|
|
40227
40254
|
|
|
40228
40255
|
declare namespace WebAssembly {
|
|
40256
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
40229
40257
|
interface CompileError extends Error {
|
|
40230
40258
|
}
|
|
40231
40259
|
|
|
@@ -40300,6 +40328,7 @@ declare namespace WebAssembly {
|
|
|
40300
40328
|
new(module: Module, importObject?: Imports): Instance;
|
|
40301
40329
|
};
|
|
40302
40330
|
|
|
40331
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
40303
40332
|
interface LinkError extends Error {
|
|
40304
40333
|
}
|
|
40305
40334
|
|
|
@@ -40365,6 +40394,7 @@ declare namespace WebAssembly {
|
|
|
40365
40394
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
40366
40395
|
};
|
|
40367
40396
|
|
|
40397
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
40368
40398
|
interface RuntimeError extends Error {
|
|
40369
40399
|
}
|
|
40370
40400
|
|
|
@@ -40615,6 +40645,7 @@ interface Console {
|
|
|
40615
40645
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
40616
40646
|
*/
|
|
40617
40647
|
timeLog(label?: string, ...data: any[]): void;
|
|
40648
|
+
/** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
|
|
40618
40649
|
timeStamp(label?: string): void;
|
|
40619
40650
|
/**
|
|
40620
40651
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|