@types/webworker 0.0.41 → 0.0.42
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 +28 -4
- package/package.json +1 -1
- package/ts5.5/index.d.ts +28 -4
- package/ts5.6/index.d.ts +28 -4
- package/ts5.9/index.d.ts +28 -4
package/README.md
CHANGED
|
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
45
45
|
|
|
46
46
|
## Deploy Metadata
|
|
47
47
|
|
|
48
|
-
You can read what changed in version 0.0.
|
|
48
|
+
You can read what changed in version 0.0.42 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.42.
|
package/index.d.ts
CHANGED
|
@@ -2673,7 +2673,9 @@ declare var CloseEvent: {
|
|
|
2673
2673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2674
2674
|
*/
|
|
2675
2675
|
interface CompressionStream extends GenericTransformStream {
|
|
2676
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2676
2677
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2678
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2677
2679
|
readonly writable: WritableStream<BufferSource>;
|
|
2678
2680
|
}
|
|
2679
2681
|
|
|
@@ -3595,7 +3597,9 @@ declare var DOMStringList: {
|
|
|
3595
3597
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3596
3598
|
*/
|
|
3597
3599
|
interface DecompressionStream extends GenericTransformStream {
|
|
3600
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3598
3601
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
3602
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3599
3603
|
readonly writable: WritableStream<BufferSource>;
|
|
3600
3604
|
}
|
|
3601
3605
|
|
|
@@ -7422,7 +7426,11 @@ interface RTCEncodedAudioFrame {
|
|
|
7422
7426
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
7423
7427
|
*/
|
|
7424
7428
|
data: ArrayBuffer;
|
|
7425
|
-
/**
|
|
7429
|
+
/**
|
|
7430
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
7431
|
+
*
|
|
7432
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
7433
|
+
*/
|
|
7426
7434
|
readonly timestamp: number;
|
|
7427
7435
|
/**
|
|
7428
7436
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -7449,7 +7457,11 @@ interface RTCEncodedVideoFrame {
|
|
|
7449
7457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
7450
7458
|
*/
|
|
7451
7459
|
data: ArrayBuffer;
|
|
7452
|
-
/**
|
|
7460
|
+
/**
|
|
7461
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
7462
|
+
*
|
|
7463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
7464
|
+
*/
|
|
7453
7465
|
readonly timestamp: number;
|
|
7454
7466
|
/**
|
|
7455
7467
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -7947,7 +7959,7 @@ declare var Response: {
|
|
|
7947
7959
|
*/
|
|
7948
7960
|
error(): Response;
|
|
7949
7961
|
/**
|
|
7950
|
-
* The **`json()`** method of the Response interface
|
|
7962
|
+
* 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.
|
|
7951
7963
|
*
|
|
7952
7964
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
7953
7965
|
*/
|
|
@@ -8666,7 +8678,9 @@ interface TextDecoderCommon {
|
|
|
8666
8678
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
8667
8679
|
*/
|
|
8668
8680
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
8681
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
8669
8682
|
readonly readable: ReadableStream<string>;
|
|
8683
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
8670
8684
|
readonly writable: WritableStream<BufferSource>;
|
|
8671
8685
|
}
|
|
8672
8686
|
|
|
@@ -8715,7 +8729,9 @@ interface TextEncoderCommon {
|
|
|
8715
8729
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
8716
8730
|
*/
|
|
8717
8731
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
8732
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
8718
8733
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
8734
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
8719
8735
|
readonly writable: WritableStream<string>;
|
|
8720
8736
|
}
|
|
8721
8737
|
|
|
@@ -12128,7 +12144,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12128
12144
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
12129
12145
|
*/
|
|
12130
12146
|
readonly readable: ReadableStream;
|
|
12131
|
-
/**
|
|
12147
|
+
/**
|
|
12148
|
+
* 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.
|
|
12149
|
+
*
|
|
12150
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12151
|
+
*/
|
|
12132
12152
|
readonly writable: WritableStream;
|
|
12133
12153
|
}
|
|
12134
12154
|
|
|
@@ -12746,6 +12766,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
12746
12766
|
};
|
|
12747
12767
|
|
|
12748
12768
|
declare namespace WebAssembly {
|
|
12769
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
12749
12770
|
interface CompileError extends Error {
|
|
12750
12771
|
}
|
|
12751
12772
|
|
|
@@ -12820,6 +12841,7 @@ declare namespace WebAssembly {
|
|
|
12820
12841
|
new(module: Module, importObject?: Imports): Instance;
|
|
12821
12842
|
};
|
|
12822
12843
|
|
|
12844
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
12823
12845
|
interface LinkError extends Error {
|
|
12824
12846
|
}
|
|
12825
12847
|
|
|
@@ -12885,6 +12907,7 @@ declare namespace WebAssembly {
|
|
|
12885
12907
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
12886
12908
|
};
|
|
12887
12909
|
|
|
12910
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
12888
12911
|
interface RuntimeError extends Error {
|
|
12889
12912
|
}
|
|
12890
12913
|
|
|
@@ -13135,6 +13158,7 @@ interface Console {
|
|
|
13135
13158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
13136
13159
|
*/
|
|
13137
13160
|
timeLog(label?: string, ...data: any[]): void;
|
|
13161
|
+
/** 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. */
|
|
13138
13162
|
timeStamp(label?: string): void;
|
|
13139
13163
|
/**
|
|
13140
13164
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -2670,7 +2670,9 @@ declare var CloseEvent: {
|
|
|
2670
2670
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2671
2671
|
*/
|
|
2672
2672
|
interface CompressionStream extends GenericTransformStream {
|
|
2673
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2673
2674
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2675
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2674
2676
|
readonly writable: WritableStream<BufferSource>;
|
|
2675
2677
|
}
|
|
2676
2678
|
|
|
@@ -3592,7 +3594,9 @@ declare var DOMStringList: {
|
|
|
3592
3594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3593
3595
|
*/
|
|
3594
3596
|
interface DecompressionStream extends GenericTransformStream {
|
|
3597
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3595
3598
|
readonly readable: ReadableStream<Uint8Array>;
|
|
3599
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3596
3600
|
readonly writable: WritableStream<BufferSource>;
|
|
3597
3601
|
}
|
|
3598
3602
|
|
|
@@ -7419,7 +7423,11 @@ interface RTCEncodedAudioFrame {
|
|
|
7419
7423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
7420
7424
|
*/
|
|
7421
7425
|
data: ArrayBuffer;
|
|
7422
|
-
/**
|
|
7426
|
+
/**
|
|
7427
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
7428
|
+
*
|
|
7429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
7430
|
+
*/
|
|
7423
7431
|
readonly timestamp: number;
|
|
7424
7432
|
/**
|
|
7425
7433
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -7446,7 +7454,11 @@ interface RTCEncodedVideoFrame {
|
|
|
7446
7454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
7447
7455
|
*/
|
|
7448
7456
|
data: ArrayBuffer;
|
|
7449
|
-
/**
|
|
7457
|
+
/**
|
|
7458
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
7459
|
+
*
|
|
7460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
7461
|
+
*/
|
|
7450
7462
|
readonly timestamp: number;
|
|
7451
7463
|
/**
|
|
7452
7464
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -7944,7 +7956,7 @@ declare var Response: {
|
|
|
7944
7956
|
*/
|
|
7945
7957
|
error(): Response;
|
|
7946
7958
|
/**
|
|
7947
|
-
* The **`json()`** method of the Response interface
|
|
7959
|
+
* 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.
|
|
7948
7960
|
*
|
|
7949
7961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
7950
7962
|
*/
|
|
@@ -8663,7 +8675,9 @@ interface TextDecoderCommon {
|
|
|
8663
8675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
8664
8676
|
*/
|
|
8665
8677
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
8678
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
8666
8679
|
readonly readable: ReadableStream<string>;
|
|
8680
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
8667
8681
|
readonly writable: WritableStream<BufferSource>;
|
|
8668
8682
|
}
|
|
8669
8683
|
|
|
@@ -8712,7 +8726,9 @@ interface TextEncoderCommon {
|
|
|
8712
8726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
8713
8727
|
*/
|
|
8714
8728
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
8729
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
8715
8730
|
readonly readable: ReadableStream<Uint8Array>;
|
|
8731
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
8716
8732
|
readonly writable: WritableStream<string>;
|
|
8717
8733
|
}
|
|
8718
8734
|
|
|
@@ -12125,7 +12141,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12125
12141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
12126
12142
|
*/
|
|
12127
12143
|
readonly readable: ReadableStream;
|
|
12128
|
-
/**
|
|
12144
|
+
/**
|
|
12145
|
+
* 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.
|
|
12146
|
+
*
|
|
12147
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12148
|
+
*/
|
|
12129
12149
|
readonly writable: WritableStream;
|
|
12130
12150
|
}
|
|
12131
12151
|
|
|
@@ -12743,6 +12763,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
12743
12763
|
};
|
|
12744
12764
|
|
|
12745
12765
|
declare namespace WebAssembly {
|
|
12766
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
12746
12767
|
interface CompileError extends Error {
|
|
12747
12768
|
}
|
|
12748
12769
|
|
|
@@ -12817,6 +12838,7 @@ declare namespace WebAssembly {
|
|
|
12817
12838
|
new(module: Module, importObject?: Imports): Instance;
|
|
12818
12839
|
};
|
|
12819
12840
|
|
|
12841
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
12820
12842
|
interface LinkError extends Error {
|
|
12821
12843
|
}
|
|
12822
12844
|
|
|
@@ -12882,6 +12904,7 @@ declare namespace WebAssembly {
|
|
|
12882
12904
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
12883
12905
|
};
|
|
12884
12906
|
|
|
12907
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
12885
12908
|
interface RuntimeError extends Error {
|
|
12886
12909
|
}
|
|
12887
12910
|
|
|
@@ -13132,6 +13155,7 @@ interface Console {
|
|
|
13132
13155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
13133
13156
|
*/
|
|
13134
13157
|
timeLog(label?: string, ...data: any[]): void;
|
|
13158
|
+
/** 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. */
|
|
13135
13159
|
timeStamp(label?: string): void;
|
|
13136
13160
|
/**
|
|
13137
13161
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -2670,7 +2670,9 @@ declare var CloseEvent: {
|
|
|
2670
2670
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2671
2671
|
*/
|
|
2672
2672
|
interface CompressionStream extends GenericTransformStream {
|
|
2673
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2673
2674
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2675
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2674
2676
|
readonly writable: WritableStream<BufferSource>;
|
|
2675
2677
|
}
|
|
2676
2678
|
|
|
@@ -3592,7 +3594,9 @@ declare var DOMStringList: {
|
|
|
3592
3594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3593
3595
|
*/
|
|
3594
3596
|
interface DecompressionStream extends GenericTransformStream {
|
|
3597
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3595
3598
|
readonly readable: ReadableStream<Uint8Array>;
|
|
3599
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3596
3600
|
readonly writable: WritableStream<BufferSource>;
|
|
3597
3601
|
}
|
|
3598
3602
|
|
|
@@ -7419,7 +7423,11 @@ interface RTCEncodedAudioFrame {
|
|
|
7419
7423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
7420
7424
|
*/
|
|
7421
7425
|
data: ArrayBuffer;
|
|
7422
|
-
/**
|
|
7426
|
+
/**
|
|
7427
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
7428
|
+
*
|
|
7429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
7430
|
+
*/
|
|
7423
7431
|
readonly timestamp: number;
|
|
7424
7432
|
/**
|
|
7425
7433
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -7446,7 +7454,11 @@ interface RTCEncodedVideoFrame {
|
|
|
7446
7454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
7447
7455
|
*/
|
|
7448
7456
|
data: ArrayBuffer;
|
|
7449
|
-
/**
|
|
7457
|
+
/**
|
|
7458
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
7459
|
+
*
|
|
7460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
7461
|
+
*/
|
|
7450
7462
|
readonly timestamp: number;
|
|
7451
7463
|
/**
|
|
7452
7464
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -7944,7 +7956,7 @@ declare var Response: {
|
|
|
7944
7956
|
*/
|
|
7945
7957
|
error(): Response;
|
|
7946
7958
|
/**
|
|
7947
|
-
* The **`json()`** method of the Response interface
|
|
7959
|
+
* 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.
|
|
7948
7960
|
*
|
|
7949
7961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
7950
7962
|
*/
|
|
@@ -8663,7 +8675,9 @@ interface TextDecoderCommon {
|
|
|
8663
8675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
8664
8676
|
*/
|
|
8665
8677
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
8678
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
8666
8679
|
readonly readable: ReadableStream<string>;
|
|
8680
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
8667
8681
|
readonly writable: WritableStream<BufferSource>;
|
|
8668
8682
|
}
|
|
8669
8683
|
|
|
@@ -8712,7 +8726,9 @@ interface TextEncoderCommon {
|
|
|
8712
8726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
8713
8727
|
*/
|
|
8714
8728
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
8729
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
8715
8730
|
readonly readable: ReadableStream<Uint8Array>;
|
|
8731
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
8716
8732
|
readonly writable: WritableStream<string>;
|
|
8717
8733
|
}
|
|
8718
8734
|
|
|
@@ -12125,7 +12141,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12125
12141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
12126
12142
|
*/
|
|
12127
12143
|
readonly readable: ReadableStream;
|
|
12128
|
-
/**
|
|
12144
|
+
/**
|
|
12145
|
+
* 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.
|
|
12146
|
+
*
|
|
12147
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12148
|
+
*/
|
|
12129
12149
|
readonly writable: WritableStream;
|
|
12130
12150
|
}
|
|
12131
12151
|
|
|
@@ -12743,6 +12763,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
12743
12763
|
};
|
|
12744
12764
|
|
|
12745
12765
|
declare namespace WebAssembly {
|
|
12766
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
12746
12767
|
interface CompileError extends Error {
|
|
12747
12768
|
}
|
|
12748
12769
|
|
|
@@ -12817,6 +12838,7 @@ declare namespace WebAssembly {
|
|
|
12817
12838
|
new(module: Module, importObject?: Imports): Instance;
|
|
12818
12839
|
};
|
|
12819
12840
|
|
|
12841
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
12820
12842
|
interface LinkError extends Error {
|
|
12821
12843
|
}
|
|
12822
12844
|
|
|
@@ -12882,6 +12904,7 @@ declare namespace WebAssembly {
|
|
|
12882
12904
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
12883
12905
|
};
|
|
12884
12906
|
|
|
12907
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
12885
12908
|
interface RuntimeError extends Error {
|
|
12886
12909
|
}
|
|
12887
12910
|
|
|
@@ -13132,6 +13155,7 @@ interface Console {
|
|
|
13132
13155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
13133
13156
|
*/
|
|
13134
13157
|
timeLog(label?: string, ...data: any[]): void;
|
|
13158
|
+
/** 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. */
|
|
13135
13159
|
timeStamp(label?: string): void;
|
|
13136
13160
|
/**
|
|
13137
13161
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -2670,7 +2670,9 @@ declare var CloseEvent: {
|
|
|
2670
2670
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2671
2671
|
*/
|
|
2672
2672
|
interface CompressionStream extends GenericTransformStream {
|
|
2673
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2673
2674
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2675
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2674
2676
|
readonly writable: WritableStream<BufferSource>;
|
|
2675
2677
|
}
|
|
2676
2678
|
|
|
@@ -3592,7 +3594,9 @@ declare var DOMStringList: {
|
|
|
3592
3594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3593
3595
|
*/
|
|
3594
3596
|
interface DecompressionStream extends GenericTransformStream {
|
|
3597
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3595
3598
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
3599
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3596
3600
|
readonly writable: WritableStream<BufferSource>;
|
|
3597
3601
|
}
|
|
3598
3602
|
|
|
@@ -7419,7 +7423,11 @@ interface RTCEncodedAudioFrame {
|
|
|
7419
7423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
|
|
7420
7424
|
*/
|
|
7421
7425
|
data: ArrayBuffer;
|
|
7422
|
-
/**
|
|
7426
|
+
/**
|
|
7427
|
+
* The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
|
|
7428
|
+
*
|
|
7429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
|
|
7430
|
+
*/
|
|
7423
7431
|
readonly timestamp: number;
|
|
7424
7432
|
/**
|
|
7425
7433
|
* The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
|
|
@@ -7446,7 +7454,11 @@ interface RTCEncodedVideoFrame {
|
|
|
7446
7454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
|
|
7447
7455
|
*/
|
|
7448
7456
|
data: ArrayBuffer;
|
|
7449
|
-
/**
|
|
7457
|
+
/**
|
|
7458
|
+
* The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
|
|
7459
|
+
*
|
|
7460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
|
|
7461
|
+
*/
|
|
7450
7462
|
readonly timestamp: number;
|
|
7451
7463
|
/**
|
|
7452
7464
|
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
|
|
@@ -7944,7 +7956,7 @@ declare var Response: {
|
|
|
7944
7956
|
*/
|
|
7945
7957
|
error(): Response;
|
|
7946
7958
|
/**
|
|
7947
|
-
* The **`json()`** method of the Response interface
|
|
7959
|
+
* 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.
|
|
7948
7960
|
*
|
|
7949
7961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
7950
7962
|
*/
|
|
@@ -8663,7 +8675,9 @@ interface TextDecoderCommon {
|
|
|
8663
8675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
8664
8676
|
*/
|
|
8665
8677
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
8678
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
8666
8679
|
readonly readable: ReadableStream<string>;
|
|
8680
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
8667
8681
|
readonly writable: WritableStream<BufferSource>;
|
|
8668
8682
|
}
|
|
8669
8683
|
|
|
@@ -8712,7 +8726,9 @@ interface TextEncoderCommon {
|
|
|
8712
8726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
8713
8727
|
*/
|
|
8714
8728
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
8729
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
8715
8730
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
8731
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
8716
8732
|
readonly writable: WritableStream<string>;
|
|
8717
8733
|
}
|
|
8718
8734
|
|
|
@@ -12125,7 +12141,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12125
12141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
12126
12142
|
*/
|
|
12127
12143
|
readonly readable: ReadableStream;
|
|
12128
|
-
/**
|
|
12144
|
+
/**
|
|
12145
|
+
* 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.
|
|
12146
|
+
*
|
|
12147
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12148
|
+
*/
|
|
12129
12149
|
readonly writable: WritableStream;
|
|
12130
12150
|
}
|
|
12131
12151
|
|
|
@@ -12743,6 +12763,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
12743
12763
|
};
|
|
12744
12764
|
|
|
12745
12765
|
declare namespace WebAssembly {
|
|
12766
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
12746
12767
|
interface CompileError extends Error {
|
|
12747
12768
|
}
|
|
12748
12769
|
|
|
@@ -12817,6 +12838,7 @@ declare namespace WebAssembly {
|
|
|
12817
12838
|
new(module: Module, importObject?: Imports): Instance;
|
|
12818
12839
|
};
|
|
12819
12840
|
|
|
12841
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
12820
12842
|
interface LinkError extends Error {
|
|
12821
12843
|
}
|
|
12822
12844
|
|
|
@@ -12882,6 +12904,7 @@ declare namespace WebAssembly {
|
|
|
12882
12904
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
12883
12905
|
};
|
|
12884
12906
|
|
|
12907
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
12885
12908
|
interface RuntimeError extends Error {
|
|
12886
12909
|
}
|
|
12887
12910
|
|
|
@@ -13132,6 +13155,7 @@ interface Console {
|
|
|
13132
13155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
13133
13156
|
*/
|
|
13134
13157
|
timeLog(label?: string, ...data: any[]): void;
|
|
13158
|
+
/** 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. */
|
|
13135
13159
|
timeStamp(label?: string): void;
|
|
13136
13160
|
/**
|
|
13137
13161
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|