@types/sharedworker 0.0.194 → 0.0.196
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 +19 -3
- package/package.json +1 -1
- package/ts5.5/index.d.ts +19 -3
- package/ts5.6/index.d.ts +19 -3
- package/ts5.9/index.d.ts +19 -3
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.196 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.196.
|
package/index.d.ts
CHANGED
|
@@ -2060,7 +2060,9 @@ declare var CloseEvent: {
|
|
|
2060
2060
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2061
2061
|
*/
|
|
2062
2062
|
interface CompressionStream extends GenericTransformStream {
|
|
2063
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2063
2064
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2065
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2064
2066
|
readonly writable: WritableStream<BufferSource>;
|
|
2065
2067
|
}
|
|
2066
2068
|
|
|
@@ -2908,7 +2910,9 @@ declare var DOMStringList: {
|
|
|
2908
2910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2909
2911
|
*/
|
|
2910
2912
|
interface DecompressionStream extends GenericTransformStream {
|
|
2913
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
2911
2914
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2915
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
2912
2916
|
readonly writable: WritableStream<BufferSource>;
|
|
2913
2917
|
}
|
|
2914
2918
|
|
|
@@ -6420,7 +6424,7 @@ declare var Response: {
|
|
|
6420
6424
|
*/
|
|
6421
6425
|
error(): Response;
|
|
6422
6426
|
/**
|
|
6423
|
-
* The **`json()`** method of the Response interface
|
|
6427
|
+
* 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.
|
|
6424
6428
|
*
|
|
6425
6429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6426
6430
|
*/
|
|
@@ -7052,7 +7056,9 @@ interface TextDecoderCommon {
|
|
|
7052
7056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7053
7057
|
*/
|
|
7054
7058
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7059
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7055
7060
|
readonly readable: ReadableStream<string>;
|
|
7061
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7056
7062
|
readonly writable: WritableStream<BufferSource>;
|
|
7057
7063
|
}
|
|
7058
7064
|
|
|
@@ -7101,7 +7107,9 @@ interface TextEncoderCommon {
|
|
|
7101
7107
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7102
7108
|
*/
|
|
7103
7109
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7110
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7104
7111
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
7112
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7105
7113
|
readonly writable: WritableStream<string>;
|
|
7106
7114
|
}
|
|
7107
7115
|
|
|
@@ -9388,6 +9396,7 @@ interface WebGLRenderingContextBase {
|
|
|
9388
9396
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9389
9397
|
getError(): GLenum;
|
|
9390
9398
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9399
|
+
getExtension(name: string): any;
|
|
9391
9400
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9392
9401
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9393
9402
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9422,7 +9431,6 @@ interface WebGLRenderingContextBase {
|
|
|
9422
9431
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9423
9432
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9424
9433
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9425
|
-
getExtension(name: string): any;
|
|
9426
9434
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9427
9435
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9428
9436
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10229,7 +10237,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10229
10237
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10230
10238
|
*/
|
|
10231
10239
|
readonly readable: ReadableStream;
|
|
10232
|
-
/**
|
|
10240
|
+
/**
|
|
10241
|
+
* 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.
|
|
10242
|
+
*
|
|
10243
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10244
|
+
*/
|
|
10233
10245
|
readonly writable: WritableStream;
|
|
10234
10246
|
}
|
|
10235
10247
|
|
|
@@ -10810,6 +10822,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
10810
10822
|
};
|
|
10811
10823
|
|
|
10812
10824
|
declare namespace WebAssembly {
|
|
10825
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
10813
10826
|
interface CompileError extends Error {
|
|
10814
10827
|
}
|
|
10815
10828
|
|
|
@@ -10884,6 +10897,7 @@ declare namespace WebAssembly {
|
|
|
10884
10897
|
new(module: Module, importObject?: Imports): Instance;
|
|
10885
10898
|
};
|
|
10886
10899
|
|
|
10900
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
10887
10901
|
interface LinkError extends Error {
|
|
10888
10902
|
}
|
|
10889
10903
|
|
|
@@ -10949,6 +10963,7 @@ declare namespace WebAssembly {
|
|
|
10949
10963
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
10950
10964
|
};
|
|
10951
10965
|
|
|
10966
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
10952
10967
|
interface RuntimeError extends Error {
|
|
10953
10968
|
}
|
|
10954
10969
|
|
|
@@ -11199,6 +11214,7 @@ interface Console {
|
|
|
11199
11214
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11200
11215
|
*/
|
|
11201
11216
|
timeLog(label?: string, ...data: any[]): void;
|
|
11217
|
+
/** 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. */
|
|
11202
11218
|
timeStamp(label?: string): void;
|
|
11203
11219
|
/**
|
|
11204
11220
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -2057,7 +2057,9 @@ declare var CloseEvent: {
|
|
|
2057
2057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2058
2058
|
*/
|
|
2059
2059
|
interface CompressionStream extends GenericTransformStream {
|
|
2060
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2060
2061
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2062
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2061
2063
|
readonly writable: WritableStream<BufferSource>;
|
|
2062
2064
|
}
|
|
2063
2065
|
|
|
@@ -2905,7 +2907,9 @@ declare var DOMStringList: {
|
|
|
2905
2907
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2906
2908
|
*/
|
|
2907
2909
|
interface DecompressionStream extends GenericTransformStream {
|
|
2910
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
2908
2911
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2912
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
2909
2913
|
readonly writable: WritableStream<BufferSource>;
|
|
2910
2914
|
}
|
|
2911
2915
|
|
|
@@ -6417,7 +6421,7 @@ declare var Response: {
|
|
|
6417
6421
|
*/
|
|
6418
6422
|
error(): Response;
|
|
6419
6423
|
/**
|
|
6420
|
-
* The **`json()`** method of the Response interface
|
|
6424
|
+
* 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.
|
|
6421
6425
|
*
|
|
6422
6426
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6423
6427
|
*/
|
|
@@ -7049,7 +7053,9 @@ interface TextDecoderCommon {
|
|
|
7049
7053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7050
7054
|
*/
|
|
7051
7055
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7056
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7052
7057
|
readonly readable: ReadableStream<string>;
|
|
7058
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7053
7059
|
readonly writable: WritableStream<BufferSource>;
|
|
7054
7060
|
}
|
|
7055
7061
|
|
|
@@ -7098,7 +7104,9 @@ interface TextEncoderCommon {
|
|
|
7098
7104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7099
7105
|
*/
|
|
7100
7106
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7107
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7101
7108
|
readonly readable: ReadableStream<Uint8Array>;
|
|
7109
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7102
7110
|
readonly writable: WritableStream<string>;
|
|
7103
7111
|
}
|
|
7104
7112
|
|
|
@@ -9385,6 +9393,7 @@ interface WebGLRenderingContextBase {
|
|
|
9385
9393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9386
9394
|
getError(): GLenum;
|
|
9387
9395
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9396
|
+
getExtension(name: string): any;
|
|
9388
9397
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9389
9398
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9390
9399
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9419,7 +9428,6 @@ interface WebGLRenderingContextBase {
|
|
|
9419
9428
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9420
9429
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9421
9430
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9422
|
-
getExtension(name: string): any;
|
|
9423
9431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9424
9432
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9425
9433
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10226,7 +10234,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10226
10234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10227
10235
|
*/
|
|
10228
10236
|
readonly readable: ReadableStream;
|
|
10229
|
-
/**
|
|
10237
|
+
/**
|
|
10238
|
+
* 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.
|
|
10239
|
+
*
|
|
10240
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10241
|
+
*/
|
|
10230
10242
|
readonly writable: WritableStream;
|
|
10231
10243
|
}
|
|
10232
10244
|
|
|
@@ -10807,6 +10819,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
10807
10819
|
};
|
|
10808
10820
|
|
|
10809
10821
|
declare namespace WebAssembly {
|
|
10822
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
10810
10823
|
interface CompileError extends Error {
|
|
10811
10824
|
}
|
|
10812
10825
|
|
|
@@ -10881,6 +10894,7 @@ declare namespace WebAssembly {
|
|
|
10881
10894
|
new(module: Module, importObject?: Imports): Instance;
|
|
10882
10895
|
};
|
|
10883
10896
|
|
|
10897
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
10884
10898
|
interface LinkError extends Error {
|
|
10885
10899
|
}
|
|
10886
10900
|
|
|
@@ -10946,6 +10960,7 @@ declare namespace WebAssembly {
|
|
|
10946
10960
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
10947
10961
|
};
|
|
10948
10962
|
|
|
10963
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
10949
10964
|
interface RuntimeError extends Error {
|
|
10950
10965
|
}
|
|
10951
10966
|
|
|
@@ -11196,6 +11211,7 @@ interface Console {
|
|
|
11196
11211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11197
11212
|
*/
|
|
11198
11213
|
timeLog(label?: string, ...data: any[]): void;
|
|
11214
|
+
/** 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. */
|
|
11199
11215
|
timeStamp(label?: string): void;
|
|
11200
11216
|
/**
|
|
11201
11217
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -2057,7 +2057,9 @@ declare var CloseEvent: {
|
|
|
2057
2057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2058
2058
|
*/
|
|
2059
2059
|
interface CompressionStream extends GenericTransformStream {
|
|
2060
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2060
2061
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2062
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2061
2063
|
readonly writable: WritableStream<BufferSource>;
|
|
2062
2064
|
}
|
|
2063
2065
|
|
|
@@ -2905,7 +2907,9 @@ declare var DOMStringList: {
|
|
|
2905
2907
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2906
2908
|
*/
|
|
2907
2909
|
interface DecompressionStream extends GenericTransformStream {
|
|
2910
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
2908
2911
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2912
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
2909
2913
|
readonly writable: WritableStream<BufferSource>;
|
|
2910
2914
|
}
|
|
2911
2915
|
|
|
@@ -6417,7 +6421,7 @@ declare var Response: {
|
|
|
6417
6421
|
*/
|
|
6418
6422
|
error(): Response;
|
|
6419
6423
|
/**
|
|
6420
|
-
* The **`json()`** method of the Response interface
|
|
6424
|
+
* 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.
|
|
6421
6425
|
*
|
|
6422
6426
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6423
6427
|
*/
|
|
@@ -7049,7 +7053,9 @@ interface TextDecoderCommon {
|
|
|
7049
7053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7050
7054
|
*/
|
|
7051
7055
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7056
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7052
7057
|
readonly readable: ReadableStream<string>;
|
|
7058
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7053
7059
|
readonly writable: WritableStream<BufferSource>;
|
|
7054
7060
|
}
|
|
7055
7061
|
|
|
@@ -7098,7 +7104,9 @@ interface TextEncoderCommon {
|
|
|
7098
7104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7099
7105
|
*/
|
|
7100
7106
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7107
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7101
7108
|
readonly readable: ReadableStream<Uint8Array>;
|
|
7109
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7102
7110
|
readonly writable: WritableStream<string>;
|
|
7103
7111
|
}
|
|
7104
7112
|
|
|
@@ -9385,6 +9393,7 @@ interface WebGLRenderingContextBase {
|
|
|
9385
9393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9386
9394
|
getError(): GLenum;
|
|
9387
9395
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9396
|
+
getExtension(name: string): any;
|
|
9388
9397
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9389
9398
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9390
9399
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9419,7 +9428,6 @@ interface WebGLRenderingContextBase {
|
|
|
9419
9428
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9420
9429
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9421
9430
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9422
|
-
getExtension(name: string): any;
|
|
9423
9431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9424
9432
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9425
9433
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10226,7 +10234,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10226
10234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10227
10235
|
*/
|
|
10228
10236
|
readonly readable: ReadableStream;
|
|
10229
|
-
/**
|
|
10237
|
+
/**
|
|
10238
|
+
* 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.
|
|
10239
|
+
*
|
|
10240
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10241
|
+
*/
|
|
10230
10242
|
readonly writable: WritableStream;
|
|
10231
10243
|
}
|
|
10232
10244
|
|
|
@@ -10807,6 +10819,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
10807
10819
|
};
|
|
10808
10820
|
|
|
10809
10821
|
declare namespace WebAssembly {
|
|
10822
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
10810
10823
|
interface CompileError extends Error {
|
|
10811
10824
|
}
|
|
10812
10825
|
|
|
@@ -10881,6 +10894,7 @@ declare namespace WebAssembly {
|
|
|
10881
10894
|
new(module: Module, importObject?: Imports): Instance;
|
|
10882
10895
|
};
|
|
10883
10896
|
|
|
10897
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
10884
10898
|
interface LinkError extends Error {
|
|
10885
10899
|
}
|
|
10886
10900
|
|
|
@@ -10946,6 +10960,7 @@ declare namespace WebAssembly {
|
|
|
10946
10960
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
10947
10961
|
};
|
|
10948
10962
|
|
|
10963
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
10949
10964
|
interface RuntimeError extends Error {
|
|
10950
10965
|
}
|
|
10951
10966
|
|
|
@@ -11196,6 +11211,7 @@ interface Console {
|
|
|
11196
11211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11197
11212
|
*/
|
|
11198
11213
|
timeLog(label?: string, ...data: any[]): void;
|
|
11214
|
+
/** 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. */
|
|
11199
11215
|
timeStamp(label?: string): void;
|
|
11200
11216
|
/**
|
|
11201
11217
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -2057,7 +2057,9 @@ declare var CloseEvent: {
|
|
|
2057
2057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2058
2058
|
*/
|
|
2059
2059
|
interface CompressionStream extends GenericTransformStream {
|
|
2060
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2060
2061
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2062
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2061
2063
|
readonly writable: WritableStream<BufferSource>;
|
|
2062
2064
|
}
|
|
2063
2065
|
|
|
@@ -2905,7 +2907,9 @@ declare var DOMStringList: {
|
|
|
2905
2907
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2906
2908
|
*/
|
|
2907
2909
|
interface DecompressionStream extends GenericTransformStream {
|
|
2910
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
2908
2911
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2912
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
2909
2913
|
readonly writable: WritableStream<BufferSource>;
|
|
2910
2914
|
}
|
|
2911
2915
|
|
|
@@ -6417,7 +6421,7 @@ declare var Response: {
|
|
|
6417
6421
|
*/
|
|
6418
6422
|
error(): Response;
|
|
6419
6423
|
/**
|
|
6420
|
-
* The **`json()`** method of the Response interface
|
|
6424
|
+
* 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.
|
|
6421
6425
|
*
|
|
6422
6426
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6423
6427
|
*/
|
|
@@ -7049,7 +7053,9 @@ interface TextDecoderCommon {
|
|
|
7049
7053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7050
7054
|
*/
|
|
7051
7055
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7056
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7052
7057
|
readonly readable: ReadableStream<string>;
|
|
7058
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7053
7059
|
readonly writable: WritableStream<BufferSource>;
|
|
7054
7060
|
}
|
|
7055
7061
|
|
|
@@ -7098,7 +7104,9 @@ interface TextEncoderCommon {
|
|
|
7098
7104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7099
7105
|
*/
|
|
7100
7106
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7107
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7101
7108
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
7109
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7102
7110
|
readonly writable: WritableStream<string>;
|
|
7103
7111
|
}
|
|
7104
7112
|
|
|
@@ -9385,6 +9393,7 @@ interface WebGLRenderingContextBase {
|
|
|
9385
9393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9386
9394
|
getError(): GLenum;
|
|
9387
9395
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9396
|
+
getExtension(name: string): any;
|
|
9388
9397
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9389
9398
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9390
9399
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9419,7 +9428,6 @@ interface WebGLRenderingContextBase {
|
|
|
9419
9428
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9420
9429
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9421
9430
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9422
|
-
getExtension(name: string): any;
|
|
9423
9431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9424
9432
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9425
9433
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10226,7 +10234,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10226
10234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10227
10235
|
*/
|
|
10228
10236
|
readonly readable: ReadableStream;
|
|
10229
|
-
/**
|
|
10237
|
+
/**
|
|
10238
|
+
* 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.
|
|
10239
|
+
*
|
|
10240
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10241
|
+
*/
|
|
10230
10242
|
readonly writable: WritableStream;
|
|
10231
10243
|
}
|
|
10232
10244
|
|
|
@@ -10807,6 +10819,7 @@ declare var XMLHttpRequestUpload: {
|
|
|
10807
10819
|
};
|
|
10808
10820
|
|
|
10809
10821
|
declare namespace WebAssembly {
|
|
10822
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
10810
10823
|
interface CompileError extends Error {
|
|
10811
10824
|
}
|
|
10812
10825
|
|
|
@@ -10881,6 +10894,7 @@ declare namespace WebAssembly {
|
|
|
10881
10894
|
new(module: Module, importObject?: Imports): Instance;
|
|
10882
10895
|
};
|
|
10883
10896
|
|
|
10897
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
10884
10898
|
interface LinkError extends Error {
|
|
10885
10899
|
}
|
|
10886
10900
|
|
|
@@ -10946,6 +10960,7 @@ declare namespace WebAssembly {
|
|
|
10946
10960
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
10947
10961
|
};
|
|
10948
10962
|
|
|
10963
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
10949
10964
|
interface RuntimeError extends Error {
|
|
10950
10965
|
}
|
|
10951
10966
|
|
|
@@ -11196,6 +11211,7 @@ interface Console {
|
|
|
11196
11211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11197
11212
|
*/
|
|
11198
11213
|
timeLog(label?: string, ...data: any[]): void;
|
|
11214
|
+
/** 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. */
|
|
11199
11215
|
timeStamp(label?: string): void;
|
|
11200
11216
|
/**
|
|
11201
11217
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|