@types/serviceworker 0.0.127 → 0.0.128

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.127 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.127.
31
+ You can read what changed in version 0.0.128 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.128.
package/index.d.ts CHANGED
@@ -1936,6 +1936,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1936
1936
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1937
1937
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1938
1938
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1939
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1939
1940
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1940
1941
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1941
1942
  skewXSelf(sx?: number): DOMMatrix;
@@ -3691,7 +3692,7 @@ interface ImageData {
3691
3692
  *
3692
3693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3693
3694
  */
3694
- readonly data: Uint8ClampedArray;
3695
+ readonly data: ImageDataArray;
3695
3696
  /**
3696
3697
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3697
3698
  *
@@ -3709,7 +3710,7 @@ interface ImageData {
3709
3710
  declare var ImageData: {
3710
3711
  prototype: ImageData;
3711
3712
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3712
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
3714
  };
3714
3715
 
3715
3716
  interface ImportMeta {
@@ -8745,6 +8746,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8745
8746
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8746
8747
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8747
8748
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8749
+ type ImageDataArray = Uint8ClampedArray;
8748
8750
  type Int32List = Int32Array | GLint[];
8749
8751
  type MessageEventSource = MessagePort | ServiceWorker;
8750
8752
  type NamedCurve = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.127",
3
+ "version": "0.0.128",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -1936,6 +1936,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1936
1936
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1937
1937
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1938
1938
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1939
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1939
1940
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1940
1941
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1941
1942
  skewXSelf(sx?: number): DOMMatrix;
@@ -3691,7 +3692,7 @@ interface ImageData {
3691
3692
  *
3692
3693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3693
3694
  */
3694
- readonly data: Uint8ClampedArray;
3695
+ readonly data: ImageDataArray;
3695
3696
  /**
3696
3697
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3697
3698
  *
@@ -3709,7 +3710,7 @@ interface ImageData {
3709
3710
  declare var ImageData: {
3710
3711
  prototype: ImageData;
3711
3712
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3712
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3713
3714
  };
3714
3715
 
3715
3716
  interface ImportMeta {
@@ -8745,6 +8746,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8745
8746
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8746
8747
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8747
8748
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8749
+ type ImageDataArray = Uint8ClampedArray;
8748
8750
  type Int32List = Int32Array | GLint[];
8749
8751
  type MessageEventSource = MessagePort | ServiceWorker;
8750
8752
  type NamedCurve = string;