@types/sharedworker 0.0.111 → 0.0.112

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 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.111 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.111.
31
+ You can read what changed in version 0.0.112 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.112.
package/index.d.ts CHANGED
@@ -791,6 +791,8 @@ declare var AbortSignal: {
791
791
  new(): AbortSignal;
792
792
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
793
793
  // abort(reason?: any): AbortSignal; - To be re-added in the future
794
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
795
+ any(signals: AbortSignal[]): AbortSignal;
794
796
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
795
797
  timeout(milliseconds: number): AbortSignal;
796
798
  };
package/iterable.d.ts CHANGED
@@ -2,6 +2,11 @@
2
2
  /// SharedWorker 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]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],