Skip to content

Commit dcd4bc5

Browse files
committed
Use Int instead of Long
1 parent cb2658b commit dcd4bc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/org/scalajs/dom/raw/lib.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -6062,14 +6062,14 @@ class ImageBitmap extends js.Object {
60626062
*
60636063
* MDN
60646064
*/
6065-
def height: Long = js.native
6065+
def height: Int = js.native
60666066

60676067
/**
60686068
* Is an unsigned long representing the width, in CSS pixels, of the ImageBitmap.
60696069
*
60706070
* MDN
60716071
*/
6072-
def width: Long = js.native
6072+
def width: Int = js.native
60736073

60746074
/**
60756075
* Dispose of all graphical resources associated with an ImageBitmap.

0 commit comments

Comments
 (0)