@types/sharedworker 0.0.59 → 0.0.60

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +2 -2
  3. 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.59 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.59.
31
+ You can read what changed in version 0.0.60 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.60.
package/index.d.ts CHANGED
@@ -613,7 +613,7 @@ interface AbortController {
613
613
  /** Returns the AbortSignal object associated with this object. */
614
614
  readonly signal: AbortSignal;
615
615
  /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
616
- abort(): void;
616
+ abort(reason?: any): void;
617
617
  }
618
618
 
619
619
  declare var AbortController: {
@@ -639,7 +639,7 @@ interface AbortSignal extends EventTarget {
639
639
  declare var AbortSignal: {
640
640
  prototype: AbortSignal;
641
641
  new(): AbortSignal;
642
- // abort(): AbortSignal; - To be re-added in the future
642
+ abort(reason?: any): AbortSignal;
643
643
  };
644
644
 
645
645
  interface AbstractWorkerEventMap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "MIT",
6
6
  "contributors": [],