@types/sharedworker 0.0.111 → 0.0.113

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.113 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.113.
package/index.d.ts CHANGED
@@ -553,16 +553,16 @@ interface RsaPssParams extends Algorithm {
553
553
  interface SecurityPolicyViolationEventInit extends EventInit {
554
554
  blockedURI?: string;
555
555
  columnNumber?: number;
556
- disposition: SecurityPolicyViolationEventDisposition;
557
- documentURI: string;
558
- effectiveDirective: string;
556
+ disposition?: SecurityPolicyViolationEventDisposition;
557
+ documentURI?: string;
558
+ effectiveDirective?: string;
559
559
  lineNumber?: number;
560
- originalPolicy: string;
560
+ originalPolicy?: string;
561
561
  referrer?: string;
562
562
  sample?: string;
563
563
  sourceFile?: string;
564
- statusCode: number;
565
- violatedDirective: string;
564
+ statusCode?: number;
565
+ violatedDirective?: string;
566
566
  }
567
567
 
568
568
  interface StorageEstimate {
@@ -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.113",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],