@types/serviceworker 0.0.82 → 0.0.83
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 +2 -0
- package/iterable.d.ts +5 -0
- 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.83 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.83.
|
package/index.d.ts
CHANGED
|
@@ -819,6 +819,8 @@ declare var AbortSignal: {
|
|
|
819
819
|
new(): AbortSignal;
|
|
820
820
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
|
|
821
821
|
// abort(reason?: any): AbortSignal; - To be re-added in the future
|
|
822
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
823
|
+
any(signals: AbortSignal[]): AbortSignal;
|
|
822
824
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
|
|
823
825
|
timeout(milliseconds: number): AbortSignal;
|
|
824
826
|
};
|
package/iterable.d.ts
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
/// ServiceWorker Iterable APIs
|
|
3
3
|
/////////////////////////////
|
|
4
4
|
|
|
5
|
+
interface AbortSignal {
|
|
6
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
7
|
+
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
8
|
+
}
|
|
9
|
+
|
|
5
10
|
interface CSSNumericArray {
|
|
6
11
|
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
|
7
12
|
entries(): IterableIterator<[number, CSSNumericValue]>;
|