Skip to content

Commit 053820e

Browse files
committed
Use import
1 parent f810f35 commit 053820e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import scala.scalajs.js
1313
import scala.scalajs.js.annotation._
1414
import scala.scalajs.js.|
1515
import org.scalajs.dom
16+
import dom.experimental.mediastream.{MediaStream, MediaSource}
1617

1718
@js.native
1819
@JSGlobal
@@ -3194,8 +3195,7 @@ abstract class HTMLMediaElement extends HTMLElement {
31943195
/**
31953196
* Sets or returns the object which serves as the source of the media associated with the HTMLMediaElement.
31963197
*/
3197-
var srcObject: js.UndefOr[
3198-
dom.experimental.mediastream.MediaStream | dom.experimental.mediastream.MediaSource | Blob]
3198+
var srcObject: js.UndefOr[MediaStream | MediaSource | Blob]
31993199
}
32003200

32013201
@js.native

0 commit comments

Comments
 (0)