@types/audioworklet 0.0.96 → 0.0.98
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 +7 -7
- package/package.json +1 -1
- package/ts5.5/index.d.ts +7 -7
- package/ts5.6/index.d.ts +7 -7
- package/ts5.9/index.d.ts +7 -7
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.98 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.98.
|
package/index.d.ts
CHANGED
|
@@ -1230,7 +1230,7 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
1230
1230
|
*
|
|
1231
1231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
|
|
1232
1232
|
*/
|
|
1233
|
-
enqueue(chunk
|
|
1233
|
+
enqueue(chunk: O): void;
|
|
1234
1234
|
/**
|
|
1235
1235
|
* The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
|
|
1236
1236
|
*
|
|
@@ -1540,7 +1540,7 @@ interface WritableStreamDefaultWriter<W = any> {
|
|
|
1540
1540
|
*
|
|
1541
1541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
1542
1542
|
*/
|
|
1543
|
-
write(chunk
|
|
1543
|
+
write(chunk: W): Promise<void>;
|
|
1544
1544
|
}
|
|
1545
1545
|
|
|
1546
1546
|
declare var WritableStreamDefaultWriter: {
|
|
@@ -1671,7 +1671,7 @@ declare namespace WebAssembly {
|
|
|
1671
1671
|
|
|
1672
1672
|
var Module: {
|
|
1673
1673
|
prototype: Module;
|
|
1674
|
-
new(bytes:
|
|
1674
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
1675
1675
|
/**
|
|
1676
1676
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
1677
1677
|
*
|
|
@@ -1822,12 +1822,12 @@ declare namespace WebAssembly {
|
|
|
1822
1822
|
type ValueType = keyof ValueTypeMap;
|
|
1823
1823
|
var JSTag: Tag;
|
|
1824
1824
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
1825
|
-
function compile(bytes:
|
|
1825
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
1826
1826
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
1827
|
-
function instantiate(bytes:
|
|
1827
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
1828
1828
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
1829
1829
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
1830
|
-
function validate(bytes:
|
|
1830
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
1833
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -2038,7 +2038,7 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
|
|
|
2038
2038
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
2039
2039
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
2040
2040
|
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
2041
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
2041
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
2042
2042
|
type ReadableStreamReaderMode = "byob";
|
|
2043
2043
|
type ReadableStreamType = "bytes";
|
|
2044
2044
|
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1227,7 +1227,7 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
1227
1227
|
*
|
|
1228
1228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
|
|
1229
1229
|
*/
|
|
1230
|
-
enqueue(chunk
|
|
1230
|
+
enqueue(chunk: O): void;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
|
|
1233
1233
|
*
|
|
@@ -1537,7 +1537,7 @@ interface WritableStreamDefaultWriter<W = any> {
|
|
|
1537
1537
|
*
|
|
1538
1538
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
1539
1539
|
*/
|
|
1540
|
-
write(chunk
|
|
1540
|
+
write(chunk: W): Promise<void>;
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
1543
|
declare var WritableStreamDefaultWriter: {
|
|
@@ -1668,7 +1668,7 @@ declare namespace WebAssembly {
|
|
|
1668
1668
|
|
|
1669
1669
|
var Module: {
|
|
1670
1670
|
prototype: Module;
|
|
1671
|
-
new(bytes:
|
|
1671
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
1674
1674
|
*
|
|
@@ -1819,12 +1819,12 @@ declare namespace WebAssembly {
|
|
|
1819
1819
|
type ValueType = keyof ValueTypeMap;
|
|
1820
1820
|
var JSTag: Tag;
|
|
1821
1821
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
1822
|
-
function compile(bytes:
|
|
1822
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
1823
1823
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
1824
|
-
function instantiate(bytes:
|
|
1824
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
1825
1825
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
1826
1826
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
1827
|
-
function validate(bytes:
|
|
1827
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -2035,6 +2035,6 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
|
|
|
2035
2035
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
2036
2036
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
2037
2037
|
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
2038
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
2038
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
2039
2039
|
type ReadableStreamReaderMode = "byob";
|
|
2040
2040
|
type ReadableStreamType = "bytes";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -1227,7 +1227,7 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
1227
1227
|
*
|
|
1228
1228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
|
|
1229
1229
|
*/
|
|
1230
|
-
enqueue(chunk
|
|
1230
|
+
enqueue(chunk: O): void;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
|
|
1233
1233
|
*
|
|
@@ -1537,7 +1537,7 @@ interface WritableStreamDefaultWriter<W = any> {
|
|
|
1537
1537
|
*
|
|
1538
1538
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
1539
1539
|
*/
|
|
1540
|
-
write(chunk
|
|
1540
|
+
write(chunk: W): Promise<void>;
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
1543
|
declare var WritableStreamDefaultWriter: {
|
|
@@ -1668,7 +1668,7 @@ declare namespace WebAssembly {
|
|
|
1668
1668
|
|
|
1669
1669
|
var Module: {
|
|
1670
1670
|
prototype: Module;
|
|
1671
|
-
new(bytes:
|
|
1671
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
1674
1674
|
*
|
|
@@ -1819,12 +1819,12 @@ declare namespace WebAssembly {
|
|
|
1819
1819
|
type ValueType = keyof ValueTypeMap;
|
|
1820
1820
|
var JSTag: Tag;
|
|
1821
1821
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
1822
|
-
function compile(bytes:
|
|
1822
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
1823
1823
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
1824
|
-
function instantiate(bytes:
|
|
1824
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
1825
1825
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
1826
1826
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
1827
|
-
function validate(bytes:
|
|
1827
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -2035,6 +2035,6 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
|
|
|
2035
2035
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
2036
2036
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
2037
2037
|
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
2038
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
2038
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
2039
2039
|
type ReadableStreamReaderMode = "byob";
|
|
2040
2040
|
type ReadableStreamType = "bytes";
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -1227,7 +1227,7 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
1227
1227
|
*
|
|
1228
1228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
|
|
1229
1229
|
*/
|
|
1230
|
-
enqueue(chunk
|
|
1230
|
+
enqueue(chunk: O): void;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
|
|
1233
1233
|
*
|
|
@@ -1537,7 +1537,7 @@ interface WritableStreamDefaultWriter<W = any> {
|
|
|
1537
1537
|
*
|
|
1538
1538
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
1539
1539
|
*/
|
|
1540
|
-
write(chunk
|
|
1540
|
+
write(chunk: W): Promise<void>;
|
|
1541
1541
|
}
|
|
1542
1542
|
|
|
1543
1543
|
declare var WritableStreamDefaultWriter: {
|
|
@@ -1668,7 +1668,7 @@ declare namespace WebAssembly {
|
|
|
1668
1668
|
|
|
1669
1669
|
var Module: {
|
|
1670
1670
|
prototype: Module;
|
|
1671
|
-
new(bytes:
|
|
1671
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
1674
1674
|
*
|
|
@@ -1819,12 +1819,12 @@ declare namespace WebAssembly {
|
|
|
1819
1819
|
type ValueType = keyof ValueTypeMap;
|
|
1820
1820
|
var JSTag: Tag;
|
|
1821
1821
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
1822
|
-
function compile(bytes:
|
|
1822
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
1823
1823
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
1824
|
-
function instantiate(bytes:
|
|
1824
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
1825
1825
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
1826
1826
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
1827
|
-
function validate(bytes:
|
|
1827
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -2035,6 +2035,6 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
|
|
|
2035
2035
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
2036
2036
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
2037
2037
|
type Transferable = MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
2038
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
2038
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
2039
2039
|
type ReadableStreamReaderMode = "byob";
|
|
2040
2040
|
type ReadableStreamType = "bytes";
|