@types/serviceworker 0.0.38 → 0.0.41
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 +3 -8
- 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.41 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.41.
|
package/index.d.ts
CHANGED
|
@@ -693,6 +693,8 @@ interface AbortSignal extends EventTarget {
|
|
|
693
693
|
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
|
|
694
694
|
readonly aborted: boolean;
|
|
695
695
|
onabort: ((this: AbortSignal, ev: Event) => any) | null;
|
|
696
|
+
readonly reason: any;
|
|
697
|
+
throwIfAborted(): void;
|
|
696
698
|
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
697
699
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
698
700
|
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -2804,6 +2806,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
2804
2806
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
2805
2807
|
readonly active: ServiceWorker | null;
|
|
2806
2808
|
readonly installing: ServiceWorker | null;
|
|
2809
|
+
readonly navigationPreload: NavigationPreloadManager;
|
|
2807
2810
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
2808
2811
|
readonly pushManager: PushManager;
|
|
2809
2812
|
readonly scope: string;
|
|
@@ -3082,13 +3085,6 @@ interface WEBGL_compressed_texture_etc1 {
|
|
|
3082
3085
|
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
|
|
3083
3086
|
}
|
|
3084
3087
|
|
|
3085
|
-
interface WEBGL_compressed_texture_pvrtc {
|
|
3086
|
-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
|
|
3087
|
-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
|
|
3088
|
-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
|
|
3089
|
-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
3088
|
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
|
|
3093
3089
|
interface WEBGL_compressed_texture_s3tc {
|
|
3094
3090
|
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
|
|
@@ -4579,7 +4575,6 @@ interface WebGLRenderingContextBase {
|
|
|
4579
4575
|
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
|
|
4580
4576
|
getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
|
|
4581
4577
|
getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
|
|
4582
|
-
getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;
|
|
4583
4578
|
getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
|
|
4584
4579
|
getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
|
|
4585
4580
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|