@types/serviceworker 0.0.52 → 0.0.53

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.52 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.52.
31
+ You can read what changed in version 0.0.53 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.53.
package/index.d.ts CHANGED
@@ -871,6 +871,7 @@ interface CanvasPath {
871
871
  moveTo(x: number, y: number): void;
872
872
  quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
873
873
  rect(x: number, y: number, w: number, h: number): void;
874
+ roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
874
875
  }
875
876
 
876
877
  /** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
@@ -1283,6 +1284,17 @@ interface EXT_texture_filter_anisotropic {
1283
1284
  readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
1284
1285
  }
1285
1286
 
1287
+ interface EXT_texture_norm16 {
1288
+ readonly R16_EXT: GLenum;
1289
+ readonly R16_SNORM_EXT: GLenum;
1290
+ readonly RG16_EXT: GLenum;
1291
+ readonly RG16_SNORM_EXT: GLenum;
1292
+ readonly RGB16_EXT: GLenum;
1293
+ readonly RGB16_SNORM_EXT: GLenum;
1294
+ readonly RGBA16_EXT: GLenum;
1295
+ readonly RGBA16_SNORM_EXT: GLenum;
1296
+ }
1297
+
1286
1298
  /** Events providing information related to errors in scripts or in files. */
1287
1299
  interface ErrorEvent extends Event {
1288
1300
  readonly colno: number;
@@ -1971,13 +1983,13 @@ declare var IDBObjectStore: {
1971
1983
  };
1972
1984
 
1973
1985
  interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
1974
- "blocked": Event;
1986
+ "blocked": IDBVersionChangeEvent;
1975
1987
  "upgradeneeded": IDBVersionChangeEvent;
1976
1988
  }
1977
1989
 
1978
1990
  /** Also inherits methods from its parents IDBRequest and EventTarget. */
1979
1991
  interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
1980
- onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null;
1992
+ onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
1981
1993
  onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
1982
1994
  addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1983
1995
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -2303,6 +2315,16 @@ declare var NotificationEvent: {
2303
2315
  new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
2304
2316
  };
2305
2317
 
2318
+ interface OES_draw_buffers_indexed {
2319
+ blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
2320
+ blendEquationiOES(buf: GLuint, mode: GLenum): void;
2321
+ blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
2322
+ blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
2323
+ colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
2324
+ disableiOES(target: GLenum, index: GLuint): void;
2325
+ enableiOES(target: GLenum, index: GLuint): void;
2326
+ }
2327
+
2306
2328
  /** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
2307
2329
  interface OES_element_index_uint {
2308
2330
  }
package/iterable.d.ts CHANGED
@@ -6,6 +6,10 @@ interface Cache {
6
6
  addAll(requests: Iterable<RequestInfo>): Promise<void>;
7
7
  }
8
8
 
9
+ interface CanvasPath {
10
+ roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
11
+ }
12
+
9
13
  interface DOMStringList {
10
14
  [Symbol.iterator](): IterableIterator<string>;
11
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],