@types/web 0.0.223 → 0.0.225
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 +23 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/ts5.5/asynciterable.d.ts +15 -0
- package/ts5.5/index.d.ts +2 -0
- package/ts5.6/asynciterable.d.ts +23 -0
- package/ts5.6/index.d.ts +2 -0
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.225 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.225.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/////////////////////////////
|
|
2
|
+
/// Window Async Iterable APIs
|
|
3
|
+
/////////////////////////////
|
|
4
|
+
|
|
5
|
+
interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
6
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface FileSystemDirectoryHandle {
|
|
10
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
|
11
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
|
12
|
+
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
|
13
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
17
|
+
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface ReadableStream<R = any> {
|
|
21
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
22
|
+
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
23
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference path="./iterable.d.ts" />
|
|
2
|
+
/// <reference path="./asynciterable.d.ts" />
|
|
2
3
|
|
|
3
4
|
/////////////////////////////
|
|
4
5
|
/// Window APIs
|
|
@@ -2557,6 +2558,7 @@ interface ARIAMixin {
|
|
|
2557
2558
|
ariaHasPopup: string | null;
|
|
2558
2559
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) */
|
|
2559
2560
|
ariaHidden: string | null;
|
|
2561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid) */
|
|
2560
2562
|
ariaInvalid: string | null;
|
|
2561
2563
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) */
|
|
2562
2564
|
ariaKeyShortcuts: string | null;
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/////////////////////////////
|
|
2
|
+
/// Window Async Iterable APIs
|
|
3
|
+
/////////////////////////////
|
|
4
|
+
|
|
5
|
+
interface FileSystemDirectoryHandle {
|
|
6
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>;
|
|
7
|
+
entries(): AsyncIterableIterator<[string, FileSystemHandle]>;
|
|
8
|
+
keys(): AsyncIterableIterator<string>;
|
|
9
|
+
values(): AsyncIterableIterator<FileSystemHandle>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface ReadableStream<R = any> {
|
|
13
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
|
|
14
|
+
values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
|
|
15
|
+
}
|
package/ts5.5/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference path="./iterable.d.ts" />
|
|
2
|
+
/// <reference path="./asynciterable.d.ts" />
|
|
2
3
|
|
|
3
4
|
/////////////////////////////
|
|
4
5
|
/// Window APIs
|
|
@@ -2557,6 +2558,7 @@ interface ARIAMixin {
|
|
|
2557
2558
|
ariaHasPopup: string | null;
|
|
2558
2559
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) */
|
|
2559
2560
|
ariaHidden: string | null;
|
|
2561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid) */
|
|
2560
2562
|
ariaInvalid: string | null;
|
|
2561
2563
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) */
|
|
2562
2564
|
ariaKeyShortcuts: string | null;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/////////////////////////////
|
|
2
|
+
/// Window Async Iterable APIs
|
|
3
|
+
/////////////////////////////
|
|
4
|
+
|
|
5
|
+
interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
6
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface FileSystemDirectoryHandle {
|
|
10
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
|
11
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
|
12
|
+
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
|
13
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
17
|
+
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface ReadableStream<R = any> {
|
|
21
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
22
|
+
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
23
|
+
}
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference path="./iterable.d.ts" />
|
|
2
|
+
/// <reference path="./asynciterable.d.ts" />
|
|
2
3
|
|
|
3
4
|
/////////////////////////////
|
|
4
5
|
/// Window APIs
|
|
@@ -2557,6 +2558,7 @@ interface ARIAMixin {
|
|
|
2557
2558
|
ariaHasPopup: string | null;
|
|
2558
2559
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) */
|
|
2559
2560
|
ariaHidden: string | null;
|
|
2561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid) */
|
|
2560
2562
|
ariaInvalid: string | null;
|
|
2561
2563
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) */
|
|
2562
2564
|
ariaKeyShortcuts: string | null;
|