@types/sharedworker 0.0.67 → 0.0.70

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 +3 -8
  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.67 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.67.
31
+ You can read what changed in version 0.0.70 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.70.
package/index.d.ts CHANGED
@@ -665,6 +665,8 @@ interface AbortSignal extends EventTarget {
665
665
  /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
666
666
  readonly aborted: boolean;
667
667
  onabort: ((this: AbortSignal, ev: Event) => any) | null;
668
+ readonly reason: any;
669
+ throwIfAborted(): void;
668
670
  addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
669
671
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
670
672
  removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -2648,6 +2650,7 @@ interface ServiceWorkerRegistrationEventMap {
2648
2650
  interface ServiceWorkerRegistration extends EventTarget {
2649
2651
  readonly active: ServiceWorker | null;
2650
2652
  readonly installing: ServiceWorker | null;
2653
+ readonly navigationPreload: NavigationPreloadManager;
2651
2654
  onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
2652
2655
  readonly pushManager: PushManager;
2653
2656
  readonly scope: string;
@@ -2949,13 +2952,6 @@ interface WEBGL_compressed_texture_etc1 {
2949
2952
  readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
2950
2953
  }
2951
2954
 
2952
- interface WEBGL_compressed_texture_pvrtc {
2953
- readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
2954
- readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
2955
- readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
2956
- readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
2957
- }
2958
-
2959
2955
  /** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
2960
2956
  interface WEBGL_compressed_texture_s3tc {
2961
2957
  readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
@@ -4446,7 +4442,6 @@ interface WebGLRenderingContextBase {
4446
4442
  getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
4447
4443
  getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
4448
4444
  getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
4449
- getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;
4450
4445
  getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
4451
4446
  getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
4452
4447
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.67",
3
+ "version": "0.0.70",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "MIT",
6
6
  "contributors": [],