@types/sharedworker 0.0.154 → 0.0.155

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.154 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.154.
31
+ You can read what changed in version 0.0.155 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.155.
package/index.d.ts CHANGED
@@ -1806,6 +1806,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1806
1806
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1807
1807
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1808
1808
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1809
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1809
1810
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1810
1811
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1811
1812
  skewXSelf(sx?: number): DOMMatrix;
@@ -3510,7 +3511,7 @@ interface ImageData {
3510
3511
  *
3511
3512
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3512
3513
  */
3513
- readonly data: Uint8ClampedArray;
3514
+ readonly data: ImageDataArray;
3514
3515
  /**
3515
3516
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3516
3517
  *
@@ -3528,7 +3529,7 @@ interface ImageData {
3528
3529
  declare var ImageData: {
3529
3530
  prototype: ImageData;
3530
3531
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3531
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3532
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3532
3533
  };
3533
3534
 
3534
3535
  interface ImportMeta {
@@ -8668,6 +8669,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8668
8669
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8669
8670
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8670
8671
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8672
+ type ImageDataArray = Uint8ClampedArray;
8671
8673
  type Int32List = Int32Array | GLint[];
8672
8674
  type MessageEventSource = MessagePort | ServiceWorker;
8673
8675
  type NamedCurve = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.154",
3
+ "version": "0.0.155",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -1806,6 +1806,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1806
1806
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1807
1807
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1808
1808
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1809
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1809
1810
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1810
1811
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
1811
1812
  skewXSelf(sx?: number): DOMMatrix;
@@ -3510,7 +3511,7 @@ interface ImageData {
3510
3511
  *
3511
3512
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
3512
3513
  */
3513
- readonly data: Uint8ClampedArray;
3514
+ readonly data: ImageDataArray;
3514
3515
  /**
3515
3516
  * Returns the actual dimensions of the data in the ImageData object, in pixels.
3516
3517
  *
@@ -3528,7 +3529,7 @@ interface ImageData {
3528
3529
  declare var ImageData: {
3529
3530
  prototype: ImageData;
3530
3531
  new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
3531
- new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3532
+ new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
3532
3533
  };
3533
3534
 
3534
3535
  interface ImportMeta {
@@ -8668,6 +8669,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
8668
8669
  type HeadersInit = [string, string][] | Record<string, string> | Headers;
8669
8670
  type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
8670
8671
  type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
8672
+ type ImageDataArray = Uint8ClampedArray;
8671
8673
  type Int32List = Int32Array | GLint[];
8672
8674
  type MessageEventSource = MessagePort | ServiceWorker;
8673
8675
  type NamedCurve = string;