@types/serviceworker 0.0.165 → 0.0.167
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.167 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.167.
|
package/index.d.ts
CHANGED
|
@@ -2205,7 +2205,9 @@ declare var CloseEvent: {
|
|
|
2205
2205
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2206
2206
|
*/
|
|
2207
2207
|
interface CompressionStream extends GenericTransformStream {
|
|
2208
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2208
2209
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2210
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2209
2211
|
readonly writable: WritableStream<BufferSource>;
|
|
2210
2212
|
}
|
|
2211
2213
|
|
|
@@ -3127,7 +3129,9 @@ declare var DOMStringList: {
|
|
|
3127
3129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3128
3130
|
*/
|
|
3129
3131
|
interface DecompressionStream extends GenericTransformStream {
|
|
3132
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3130
3133
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
3134
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3131
3135
|
readonly writable: WritableStream<BufferSource>;
|
|
3132
3136
|
}
|
|
3133
3137
|
|
|
@@ -6843,7 +6847,7 @@ declare var Response: {
|
|
|
6843
6847
|
*/
|
|
6844
6848
|
error(): Response;
|
|
6845
6849
|
/**
|
|
6846
|
-
* The **`json()`** method of the Response interface
|
|
6850
|
+
* 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.
|
|
6847
6851
|
*
|
|
6848
6852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6849
6853
|
*/
|
|
@@ -7527,7 +7531,9 @@ interface TextDecoderCommon {
|
|
|
7527
7531
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7528
7532
|
*/
|
|
7529
7533
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7534
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7530
7535
|
readonly readable: ReadableStream<string>;
|
|
7536
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7531
7537
|
readonly writable: WritableStream<BufferSource>;
|
|
7532
7538
|
}
|
|
7533
7539
|
|
|
@@ -7576,7 +7582,9 @@ interface TextEncoderCommon {
|
|
|
7576
7582
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7577
7583
|
*/
|
|
7578
7584
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7585
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7579
7586
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
7587
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7580
7588
|
readonly writable: WritableStream<string>;
|
|
7581
7589
|
}
|
|
7582
7590
|
|
|
@@ -9851,6 +9859,7 @@ interface WebGLRenderingContextBase {
|
|
|
9851
9859
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9852
9860
|
getError(): GLenum;
|
|
9853
9861
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9862
|
+
getExtension(name: string): any;
|
|
9854
9863
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9855
9864
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9856
9865
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9885,7 +9894,6 @@ interface WebGLRenderingContextBase {
|
|
|
9885
9894
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9886
9895
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9887
9896
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9888
|
-
getExtension(name: string): any;
|
|
9889
9897
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9890
9898
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9891
9899
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10692,7 +10700,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10692
10700
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10693
10701
|
*/
|
|
10694
10702
|
readonly readable: ReadableStream;
|
|
10695
|
-
/**
|
|
10703
|
+
/**
|
|
10704
|
+
* 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.
|
|
10705
|
+
*
|
|
10706
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10707
|
+
*/
|
|
10696
10708
|
readonly writable: WritableStream;
|
|
10697
10709
|
}
|
|
10698
10710
|
|
|
@@ -11090,6 +11102,7 @@ declare var WritableStreamDefaultWriter: {
|
|
|
11090
11102
|
};
|
|
11091
11103
|
|
|
11092
11104
|
declare namespace WebAssembly {
|
|
11105
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
11093
11106
|
interface CompileError extends Error {
|
|
11094
11107
|
}
|
|
11095
11108
|
|
|
@@ -11164,6 +11177,7 @@ declare namespace WebAssembly {
|
|
|
11164
11177
|
new(module: Module, importObject?: Imports): Instance;
|
|
11165
11178
|
};
|
|
11166
11179
|
|
|
11180
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
11167
11181
|
interface LinkError extends Error {
|
|
11168
11182
|
}
|
|
11169
11183
|
|
|
@@ -11229,6 +11243,7 @@ declare namespace WebAssembly {
|
|
|
11229
11243
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
11230
11244
|
};
|
|
11231
11245
|
|
|
11246
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
11232
11247
|
interface RuntimeError extends Error {
|
|
11233
11248
|
}
|
|
11234
11249
|
|
|
@@ -11479,6 +11494,7 @@ interface Console {
|
|
|
11479
11494
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11480
11495
|
*/
|
|
11481
11496
|
timeLog(label?: string, ...data: any[]): void;
|
|
11497
|
+
/** 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. */
|
|
11482
11498
|
timeStamp(label?: string): void;
|
|
11483
11499
|
/**
|
|
11484
11500
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -2202,7 +2202,9 @@ declare var CloseEvent: {
|
|
|
2202
2202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2203
2203
|
*/
|
|
2204
2204
|
interface CompressionStream extends GenericTransformStream {
|
|
2205
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2205
2206
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2207
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2206
2208
|
readonly writable: WritableStream<BufferSource>;
|
|
2207
2209
|
}
|
|
2208
2210
|
|
|
@@ -3124,7 +3126,9 @@ declare var DOMStringList: {
|
|
|
3124
3126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3125
3127
|
*/
|
|
3126
3128
|
interface DecompressionStream extends GenericTransformStream {
|
|
3129
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3127
3130
|
readonly readable: ReadableStream<Uint8Array>;
|
|
3131
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3128
3132
|
readonly writable: WritableStream<BufferSource>;
|
|
3129
3133
|
}
|
|
3130
3134
|
|
|
@@ -6840,7 +6844,7 @@ declare var Response: {
|
|
|
6840
6844
|
*/
|
|
6841
6845
|
error(): Response;
|
|
6842
6846
|
/**
|
|
6843
|
-
* The **`json()`** method of the Response interface
|
|
6847
|
+
* 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.
|
|
6844
6848
|
*
|
|
6845
6849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6846
6850
|
*/
|
|
@@ -7524,7 +7528,9 @@ interface TextDecoderCommon {
|
|
|
7524
7528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7525
7529
|
*/
|
|
7526
7530
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7531
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7527
7532
|
readonly readable: ReadableStream<string>;
|
|
7533
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7528
7534
|
readonly writable: WritableStream<BufferSource>;
|
|
7529
7535
|
}
|
|
7530
7536
|
|
|
@@ -7573,7 +7579,9 @@ interface TextEncoderCommon {
|
|
|
7573
7579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7574
7580
|
*/
|
|
7575
7581
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7582
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7576
7583
|
readonly readable: ReadableStream<Uint8Array>;
|
|
7584
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7577
7585
|
readonly writable: WritableStream<string>;
|
|
7578
7586
|
}
|
|
7579
7587
|
|
|
@@ -9848,6 +9856,7 @@ interface WebGLRenderingContextBase {
|
|
|
9848
9856
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9849
9857
|
getError(): GLenum;
|
|
9850
9858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9859
|
+
getExtension(name: string): any;
|
|
9851
9860
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9852
9861
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9853
9862
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9882,7 +9891,6 @@ interface WebGLRenderingContextBase {
|
|
|
9882
9891
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9883
9892
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9884
9893
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9885
|
-
getExtension(name: string): any;
|
|
9886
9894
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9887
9895
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9888
9896
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10689,7 +10697,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10689
10697
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10690
10698
|
*/
|
|
10691
10699
|
readonly readable: ReadableStream;
|
|
10692
|
-
/**
|
|
10700
|
+
/**
|
|
10701
|
+
* 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.
|
|
10702
|
+
*
|
|
10703
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10704
|
+
*/
|
|
10693
10705
|
readonly writable: WritableStream;
|
|
10694
10706
|
}
|
|
10695
10707
|
|
|
@@ -11087,6 +11099,7 @@ declare var WritableStreamDefaultWriter: {
|
|
|
11087
11099
|
};
|
|
11088
11100
|
|
|
11089
11101
|
declare namespace WebAssembly {
|
|
11102
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
11090
11103
|
interface CompileError extends Error {
|
|
11091
11104
|
}
|
|
11092
11105
|
|
|
@@ -11161,6 +11174,7 @@ declare namespace WebAssembly {
|
|
|
11161
11174
|
new(module: Module, importObject?: Imports): Instance;
|
|
11162
11175
|
};
|
|
11163
11176
|
|
|
11177
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
11164
11178
|
interface LinkError extends Error {
|
|
11165
11179
|
}
|
|
11166
11180
|
|
|
@@ -11226,6 +11240,7 @@ declare namespace WebAssembly {
|
|
|
11226
11240
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
11227
11241
|
};
|
|
11228
11242
|
|
|
11243
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
11229
11244
|
interface RuntimeError extends Error {
|
|
11230
11245
|
}
|
|
11231
11246
|
|
|
@@ -11476,6 +11491,7 @@ interface Console {
|
|
|
11476
11491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11477
11492
|
*/
|
|
11478
11493
|
timeLog(label?: string, ...data: any[]): void;
|
|
11494
|
+
/** 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. */
|
|
11479
11495
|
timeStamp(label?: string): void;
|
|
11480
11496
|
/**
|
|
11481
11497
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -2202,7 +2202,9 @@ declare var CloseEvent: {
|
|
|
2202
2202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2203
2203
|
*/
|
|
2204
2204
|
interface CompressionStream extends GenericTransformStream {
|
|
2205
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2205
2206
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2207
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2206
2208
|
readonly writable: WritableStream<BufferSource>;
|
|
2207
2209
|
}
|
|
2208
2210
|
|
|
@@ -3124,7 +3126,9 @@ declare var DOMStringList: {
|
|
|
3124
3126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3125
3127
|
*/
|
|
3126
3128
|
interface DecompressionStream extends GenericTransformStream {
|
|
3129
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3127
3130
|
readonly readable: ReadableStream<Uint8Array>;
|
|
3131
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3128
3132
|
readonly writable: WritableStream<BufferSource>;
|
|
3129
3133
|
}
|
|
3130
3134
|
|
|
@@ -6840,7 +6844,7 @@ declare var Response: {
|
|
|
6840
6844
|
*/
|
|
6841
6845
|
error(): Response;
|
|
6842
6846
|
/**
|
|
6843
|
-
* The **`json()`** method of the Response interface
|
|
6847
|
+
* 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.
|
|
6844
6848
|
*
|
|
6845
6849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6846
6850
|
*/
|
|
@@ -7524,7 +7528,9 @@ interface TextDecoderCommon {
|
|
|
7524
7528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7525
7529
|
*/
|
|
7526
7530
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7531
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7527
7532
|
readonly readable: ReadableStream<string>;
|
|
7533
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7528
7534
|
readonly writable: WritableStream<BufferSource>;
|
|
7529
7535
|
}
|
|
7530
7536
|
|
|
@@ -7573,7 +7579,9 @@ interface TextEncoderCommon {
|
|
|
7573
7579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7574
7580
|
*/
|
|
7575
7581
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7582
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7576
7583
|
readonly readable: ReadableStream<Uint8Array>;
|
|
7584
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7577
7585
|
readonly writable: WritableStream<string>;
|
|
7578
7586
|
}
|
|
7579
7587
|
|
|
@@ -9848,6 +9856,7 @@ interface WebGLRenderingContextBase {
|
|
|
9848
9856
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9849
9857
|
getError(): GLenum;
|
|
9850
9858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9859
|
+
getExtension(name: string): any;
|
|
9851
9860
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9852
9861
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9853
9862
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9882,7 +9891,6 @@ interface WebGLRenderingContextBase {
|
|
|
9882
9891
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9883
9892
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9884
9893
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9885
|
-
getExtension(name: string): any;
|
|
9886
9894
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9887
9895
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9888
9896
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10689,7 +10697,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10689
10697
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10690
10698
|
*/
|
|
10691
10699
|
readonly readable: ReadableStream;
|
|
10692
|
-
/**
|
|
10700
|
+
/**
|
|
10701
|
+
* 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.
|
|
10702
|
+
*
|
|
10703
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10704
|
+
*/
|
|
10693
10705
|
readonly writable: WritableStream;
|
|
10694
10706
|
}
|
|
10695
10707
|
|
|
@@ -11087,6 +11099,7 @@ declare var WritableStreamDefaultWriter: {
|
|
|
11087
11099
|
};
|
|
11088
11100
|
|
|
11089
11101
|
declare namespace WebAssembly {
|
|
11102
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
11090
11103
|
interface CompileError extends Error {
|
|
11091
11104
|
}
|
|
11092
11105
|
|
|
@@ -11161,6 +11174,7 @@ declare namespace WebAssembly {
|
|
|
11161
11174
|
new(module: Module, importObject?: Imports): Instance;
|
|
11162
11175
|
};
|
|
11163
11176
|
|
|
11177
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
11164
11178
|
interface LinkError extends Error {
|
|
11165
11179
|
}
|
|
11166
11180
|
|
|
@@ -11226,6 +11240,7 @@ declare namespace WebAssembly {
|
|
|
11226
11240
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
11227
11241
|
};
|
|
11228
11242
|
|
|
11243
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
11229
11244
|
interface RuntimeError extends Error {
|
|
11230
11245
|
}
|
|
11231
11246
|
|
|
@@ -11476,6 +11491,7 @@ interface Console {
|
|
|
11476
11491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11477
11492
|
*/
|
|
11478
11493
|
timeLog(label?: string, ...data: any[]): void;
|
|
11494
|
+
/** 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. */
|
|
11479
11495
|
timeStamp(label?: string): void;
|
|
11480
11496
|
/**
|
|
11481
11497
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -2202,7 +2202,9 @@ declare var CloseEvent: {
|
|
|
2202
2202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
2203
2203
|
*/
|
|
2204
2204
|
interface CompressionStream extends GenericTransformStream {
|
|
2205
|
+
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
|
|
2205
2206
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
2207
|
+
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
|
|
2206
2208
|
readonly writable: WritableStream<BufferSource>;
|
|
2207
2209
|
}
|
|
2208
2210
|
|
|
@@ -3124,7 +3126,9 @@ declare var DOMStringList: {
|
|
|
3124
3126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
3125
3127
|
*/
|
|
3126
3128
|
interface DecompressionStream extends GenericTransformStream {
|
|
3129
|
+
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
|
|
3127
3130
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
3131
|
+
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
|
|
3128
3132
|
readonly writable: WritableStream<BufferSource>;
|
|
3129
3133
|
}
|
|
3130
3134
|
|
|
@@ -6840,7 +6844,7 @@ declare var Response: {
|
|
|
6840
6844
|
*/
|
|
6841
6845
|
error(): Response;
|
|
6842
6846
|
/**
|
|
6843
|
-
* The **`json()`** method of the Response interface
|
|
6847
|
+
* 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.
|
|
6844
6848
|
*
|
|
6845
6849
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
|
|
6846
6850
|
*/
|
|
@@ -7524,7 +7528,9 @@ interface TextDecoderCommon {
|
|
|
7524
7528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
7525
7529
|
*/
|
|
7526
7530
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
7531
|
+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
|
|
7527
7532
|
readonly readable: ReadableStream<string>;
|
|
7533
|
+
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
|
|
7528
7534
|
readonly writable: WritableStream<BufferSource>;
|
|
7529
7535
|
}
|
|
7530
7536
|
|
|
@@ -7573,7 +7579,9 @@ interface TextEncoderCommon {
|
|
|
7573
7579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
7574
7580
|
*/
|
|
7575
7581
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
7582
|
+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
|
|
7576
7583
|
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
7584
|
+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
|
|
7577
7585
|
readonly writable: WritableStream<string>;
|
|
7578
7586
|
}
|
|
7579
7587
|
|
|
@@ -9848,6 +9856,7 @@ interface WebGLRenderingContextBase {
|
|
|
9848
9856
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
|
|
9849
9857
|
getError(): GLenum;
|
|
9850
9858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
|
|
9859
|
+
getExtension(name: string): any;
|
|
9851
9860
|
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
9852
9861
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
9853
9862
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
@@ -9882,7 +9891,6 @@ interface WebGLRenderingContextBase {
|
|
|
9882
9891
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
9883
9892
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
9884
9893
|
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
9885
|
-
getExtension(name: string): any;
|
|
9886
9894
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
|
|
9887
9895
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
9888
9896
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
|
|
@@ -10689,7 +10697,11 @@ interface WebTransportDatagramDuplexStream {
|
|
|
10689
10697
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
|
|
10690
10698
|
*/
|
|
10691
10699
|
readonly readable: ReadableStream;
|
|
10692
|
-
/**
|
|
10700
|
+
/**
|
|
10701
|
+
* 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.
|
|
10702
|
+
*
|
|
10703
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
10704
|
+
*/
|
|
10693
10705
|
readonly writable: WritableStream;
|
|
10694
10706
|
}
|
|
10695
10707
|
|
|
@@ -11087,6 +11099,7 @@ declare var WritableStreamDefaultWriter: {
|
|
|
11087
11099
|
};
|
|
11088
11100
|
|
|
11089
11101
|
declare namespace WebAssembly {
|
|
11102
|
+
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
11090
11103
|
interface CompileError extends Error {
|
|
11091
11104
|
}
|
|
11092
11105
|
|
|
@@ -11161,6 +11174,7 @@ declare namespace WebAssembly {
|
|
|
11161
11174
|
new(module: Module, importObject?: Imports): Instance;
|
|
11162
11175
|
};
|
|
11163
11176
|
|
|
11177
|
+
/** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
|
|
11164
11178
|
interface LinkError extends Error {
|
|
11165
11179
|
}
|
|
11166
11180
|
|
|
@@ -11226,6 +11240,7 @@ declare namespace WebAssembly {
|
|
|
11226
11240
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
11227
11241
|
};
|
|
11228
11242
|
|
|
11243
|
+
/** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
|
|
11229
11244
|
interface RuntimeError extends Error {
|
|
11230
11245
|
}
|
|
11231
11246
|
|
|
@@ -11476,6 +11491,7 @@ interface Console {
|
|
|
11476
11491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
|
|
11477
11492
|
*/
|
|
11478
11493
|
timeLog(label?: string, ...data: any[]): void;
|
|
11494
|
+
/** 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. */
|
|
11479
11495
|
timeStamp(label?: string): void;
|
|
11480
11496
|
/**
|
|
11481
11497
|
* The **`console.trace()`** static method outputs a stack trace to the console.
|