@types/audioworklet 0.0.56 → 0.0.58
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 +13 -20
- package/iterable.d.ts +1 -5
- package/package.json +1 -1
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.58 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.58.
|
package/index.d.ts
CHANGED
|
@@ -293,6 +293,8 @@ declare var ByteLengthQueuingStrategy: {
|
|
|
293
293
|
|
|
294
294
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
|
|
295
295
|
interface CompressionStream extends GenericTransformStream {
|
|
296
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
297
|
+
readonly writable: WritableStream<BufferSource>;
|
|
296
298
|
}
|
|
297
299
|
|
|
298
300
|
declare var CompressionStream: {
|
|
@@ -413,6 +415,8 @@ declare var DOMException: {
|
|
|
413
415
|
|
|
414
416
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
|
|
415
417
|
interface DecompressionStream extends GenericTransformStream {
|
|
418
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
419
|
+
readonly writable: WritableStream<BufferSource>;
|
|
416
420
|
}
|
|
417
421
|
|
|
418
422
|
declare var DecompressionStream: {
|
|
@@ -426,15 +430,10 @@ declare var DecompressionStream: {
|
|
|
426
430
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
427
431
|
*/
|
|
428
432
|
interface ErrorEvent extends Event {
|
|
429
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
430
433
|
readonly colno: number;
|
|
431
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
432
434
|
readonly error: any;
|
|
433
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
434
435
|
readonly filename: string;
|
|
435
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
436
436
|
readonly lineno: number;
|
|
437
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
438
437
|
readonly message: string;
|
|
439
438
|
}
|
|
440
439
|
|
|
@@ -666,11 +665,7 @@ interface MessageEvent<T = any> extends Event {
|
|
|
666
665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
667
666
|
*/
|
|
668
667
|
readonly source: MessageEventSource | null;
|
|
669
|
-
/**
|
|
670
|
-
* @deprecated
|
|
671
|
-
*
|
|
672
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
673
|
-
*/
|
|
668
|
+
/** @deprecated */
|
|
674
669
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
675
670
|
}
|
|
676
671
|
|
|
@@ -797,7 +792,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
797
792
|
|
|
798
793
|
declare var ReadableStreamBYOBReader: {
|
|
799
794
|
prototype: ReadableStreamBYOBReader;
|
|
800
|
-
new(stream: ReadableStream): ReadableStreamBYOBReader;
|
|
795
|
+
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
801
796
|
};
|
|
802
797
|
|
|
803
798
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
|
|
@@ -1027,9 +1022,9 @@ declare var URL: {
|
|
|
1027
1022
|
prototype: URL;
|
|
1028
1023
|
new(url: string | URL, base?: string | URL): URL;
|
|
1029
1024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
1030
|
-
canParse(url: string | URL, base?: string): boolean;
|
|
1025
|
+
canParse(url: string | URL, base?: string | URL): boolean;
|
|
1031
1026
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
1032
|
-
parse(url: string | URL, base?: string): URL | null;
|
|
1027
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
1033
1028
|
};
|
|
1034
1029
|
|
|
1035
1030
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
|
|
@@ -1170,7 +1165,7 @@ interface Console {
|
|
|
1170
1165
|
clear(): void;
|
|
1171
1166
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
1172
1167
|
count(label?: string): void;
|
|
1173
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
1168
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
1174
1169
|
countReset(label?: string): void;
|
|
1175
1170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
1176
1171
|
debug(...data: any[]): void;
|
|
@@ -1182,9 +1177,9 @@ interface Console {
|
|
|
1182
1177
|
error(...data: any[]): void;
|
|
1183
1178
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
1184
1179
|
group(...data: any[]): void;
|
|
1185
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
1180
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
1186
1181
|
groupCollapsed(...data: any[]): void;
|
|
1187
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
1182
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
1188
1183
|
groupEnd(): void;
|
|
1189
1184
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
1190
1185
|
info(...data: any[]): void;
|
|
@@ -1194,9 +1189,9 @@ interface Console {
|
|
|
1194
1189
|
table(tabularData?: any, properties?: string[]): void;
|
|
1195
1190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
1196
1191
|
time(label?: string): void;
|
|
1197
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
1192
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
1198
1193
|
timeEnd(label?: string): void;
|
|
1199
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
1194
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
1200
1195
|
timeLog(label?: string, ...data: any[]): void;
|
|
1201
1196
|
timeStamp(label?: string): void;
|
|
1202
1197
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -1219,9 +1214,7 @@ declare namespace WebAssembly {
|
|
|
1219
1214
|
|
|
1220
1215
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
1221
1216
|
interface Global<T extends ValueType = ValueType> {
|
|
1222
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
1223
1217
|
value: ValueTypeMap[T];
|
|
1224
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
1225
1218
|
valueOf(): ValueTypeMap[T];
|
|
1226
1219
|
}
|
|
1227
1220
|
|
package/iterable.d.ts
CHANGED
|
@@ -8,11 +8,7 @@ interface AbortSignal {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
interface MessageEvent<T = any> {
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated
|
|
13
|
-
*
|
|
14
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
15
|
-
*/
|
|
11
|
+
/** @deprecated */
|
|
16
12
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
17
13
|
}
|
|
18
14
|
|