@types/sharedworker 0.0.77 → 0.0.78

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 +26 -12
  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.77 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.77.
31
+ You can read what changed in version 0.0.78 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.78.
package/index.d.ts CHANGED
@@ -681,6 +681,7 @@ declare var AbortSignal: {
681
681
  prototype: AbortSignal;
682
682
  new(): AbortSignal;
683
683
  // abort(reason?: any): AbortSignal; - To be re-added in the future
684
+ timeout(milliseconds: number): AbortSignal;
684
685
  };
685
686
 
686
687
  interface AbstractWorkerEventMap {
@@ -1181,6 +1182,13 @@ interface EXT_sRGB {
1181
1182
  interface EXT_shader_texture_lod {
1182
1183
  }
1183
1184
 
1185
+ interface EXT_texture_compression_bptc {
1186
+ readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: GLenum;
1187
+ readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: GLenum;
1188
+ readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: GLenum;
1189
+ readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: GLenum;
1190
+ }
1191
+
1184
1192
  interface EXT_texture_compression_rgtc {
1185
1193
  readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
1186
1194
  readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
@@ -2368,6 +2376,7 @@ interface PermissionStatusEventMap {
2368
2376
  }
2369
2377
 
2370
2378
  interface PermissionStatus extends EventTarget {
2379
+ readonly name: string;
2371
2380
  onchange: ((this: PermissionStatus, ev: Event) => any) | null;
2372
2381
  readonly state: PermissionState;
2373
2382
  addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -2450,6 +2459,7 @@ declare var PushSubscription: {
2450
2459
  /** Available only in secure contexts. */
2451
2460
  interface PushSubscriptionOptions {
2452
2461
  readonly applicationServerKey: ArrayBuffer | null;
2462
+ readonly userVisibleOnly: boolean;
2453
2463
  }
2454
2464
 
2455
2465
  declare var PushSubscriptionOptions: {
@@ -4453,35 +4463,39 @@ interface WebGLRenderingContextBase {
4453
4463
  getBufferParameter(target: GLenum, pname: GLenum): any;
4454
4464
  getContextAttributes(): WebGLContextAttributes | null;
4455
4465
  getError(): GLenum;
4466
+ getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
4456
4467
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
4457
4468
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
4458
4469
  getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;
4459
4470
  getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;
4460
- getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
4461
4471
  getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
4462
- getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
4463
4472
  getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;
4473
+ getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
4474
+ getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;
4475
+ getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;
4476
+ getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
4464
4477
  getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;
4478
+ getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
4479
+ getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;
4480
+ getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
4481
+ getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
4482
+ getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
4483
+ getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
4484
+ getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
4465
4485
  getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
4466
4486
  getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;
4467
4487
  getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
4468
4488
  getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
4469
4489
  getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
4470
4490
  getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
4491
+ getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
4471
4492
  getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
4493
+ getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
4472
4494
  getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
4495
+ getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
4473
4496
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
4474
4497
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
4475
- getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
4476
- getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
4477
- getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
4478
- getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
4479
- getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
4480
- getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
4481
- getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
4482
- getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
4483
- getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
4484
- getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
4498
+ getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
4485
4499
  getExtension(name: string): any;
4486
4500
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
4487
4501
  getParameter(pname: GLenum): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "MIT",
6
6
  "contributors": [],