@types/audioworklet 0.0.84 → 0.0.86
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/asynciterable.d.ts +2 -12
- package/index.d.ts +41 -0
- package/iterable.d.ts +2 -22
- package/package.json +6 -1
- package/ts5.9/asynciterable.d.ts +12 -0
- package/ts5.9/index.d.ts +1960 -0
- package/ts5.9/iterable.d.ts +22 -0
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.86 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.86.
|
package/asynciterable.d.ts
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/////////////////////////////
|
|
4
|
-
|
|
5
|
-
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
6
|
-
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
interface ReadableStream<R = any> {
|
|
10
|
-
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
11
|
-
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
12
|
-
}
|
|
1
|
+
// This file's contents are now included in the main types file.
|
|
2
|
+
// The file has been left for backward compatibility.
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference path="./iterable.d.ts" />
|
|
2
2
|
/// <reference path="./asynciterable.d.ts" />
|
|
3
3
|
|
|
4
|
+
/// <reference lib="es2015" />
|
|
5
|
+
/// <reference lib="es2018.asynciterable" />
|
|
6
|
+
|
|
4
7
|
/////////////////////////////
|
|
5
8
|
/// AudioWorklet APIs
|
|
6
9
|
/////////////////////////////
|
|
@@ -1958,3 +1961,41 @@ type Transferable = MessagePort | ReadableStream | WritableStream | TransformStr
|
|
|
1958
1961
|
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
1959
1962
|
type ReadableStreamReaderMode = "byob";
|
|
1960
1963
|
type ReadableStreamType = "bytes";
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
/////////////////////////////
|
|
1967
|
+
/// AudioWorklet Iterable APIs
|
|
1968
|
+
/////////////////////////////
|
|
1969
|
+
|
|
1970
|
+
interface MessageEvent<T = any> {
|
|
1971
|
+
/** @deprecated */
|
|
1972
|
+
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
1976
|
+
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
interface URLSearchParams {
|
|
1980
|
+
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
1981
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
1982
|
+
entries(): URLSearchParamsIterator<[string, string]>;
|
|
1983
|
+
/** Returns a list of keys in the search params. */
|
|
1984
|
+
keys(): URLSearchParamsIterator<string>;
|
|
1985
|
+
/** Returns a list of values in the search params. */
|
|
1986
|
+
values(): URLSearchParamsIterator<string>;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
/////////////////////////////
|
|
1991
|
+
/// AudioWorklet Async Iterable APIs
|
|
1992
|
+
/////////////////////////////
|
|
1993
|
+
|
|
1994
|
+
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
1995
|
+
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
interface ReadableStream<R = any> {
|
|
1999
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
2000
|
+
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
2001
|
+
}
|
package/iterable.d.ts
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/////////////////////////////
|
|
4
|
-
|
|
5
|
-
interface MessageEvent<T = any> {
|
|
6
|
-
/** @deprecated */
|
|
7
|
-
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
11
|
-
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface URLSearchParams {
|
|
15
|
-
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
16
|
-
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
17
|
-
entries(): URLSearchParamsIterator<[string, string]>;
|
|
18
|
-
/** Returns a list of keys in the search params. */
|
|
19
|
-
keys(): URLSearchParamsIterator<string>;
|
|
20
|
-
/** Returns a list of values in the search params. */
|
|
21
|
-
values(): URLSearchParamsIterator<string>;
|
|
22
|
-
}
|
|
1
|
+
// This file's contents are now included in the main types file.
|
|
2
|
+
// The file has been left for backward compatibility.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/audioworklet",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.86",
|
|
4
4
|
"description": "Types for the global scope of Audio Worklets",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"contributors": [],
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"*": [
|
|
21
21
|
"ts5.6/*"
|
|
22
22
|
]
|
|
23
|
+
},
|
|
24
|
+
"<=5.9": {
|
|
25
|
+
"*": [
|
|
26
|
+
"ts5.9/*"
|
|
27
|
+
]
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"scripts": {},
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/////////////////////////////
|
|
2
|
+
/// AudioWorklet Async Iterable APIs
|
|
3
|
+
/////////////////////////////
|
|
4
|
+
|
|
5
|
+
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
6
|
+
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface ReadableStream<R = any> {
|
|
10
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
11
|
+
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
12
|
+
}
|