3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15465,7 +15465,7 @@ ImageBitmap[JT] def width: Double
15465
15465
ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap]
15466
15466
ImageCapture[JC] def takePhoto(): js.Promise[Blob]
15467
15467
ImageCapture[JC] val track: MediaStreamTrack
15468
- ImageData[JC] def data: js.Array[Int]
15468
+ ImageData[JC] def data: js.typedarray.Uint8ClampedArray
15469
15469
ImageData[JC] def height: Int
15470
15470
ImageData[JC] def width: Int
15471
15471
InputEvent[JC] def bubbles: Boolean
Original file line number Diff line number Diff line change @@ -15465,7 +15465,7 @@ ImageBitmap[JT] def width: Double
15465
15465
ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap]
15466
15466
ImageCapture[JC] def takePhoto(): js.Promise[Blob]
15467
15467
ImageCapture[JC] val track: MediaStreamTrack
15468
- ImageData[JC] def data: js.Array[Int]
15468
+ ImageData[JC] def data: js.typedarray.Uint8ClampedArray
15469
15469
ImageData[JC] def height: Int
15470
15470
ImageData[JC] def width: Int
15471
15471
InputEvent[JC] def bubbles: Boolean
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class ImageData extends js.Object {
23
23
/** Is a Uint8ClampedArray representing a one-dimensional array containing the data in the RGBA order, with integer
24
24
* values between 0 and 255 (included).
25
25
*/
26
- def data : js.Array [ Int ] = js.native
26
+ def data : js.typedarray. Uint8ClampedArray = js.native
27
27
28
28
/** Is an unsigned long representing the actual height, in pixels, of the ImageData. */
29
29
def height : Int = js.native
0 commit comments