We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe1b87 commit 31925f2Copy full SHA for 31925f2
dom/src/main/scala/org/scalajs/dom/EventSource.scala
@@ -41,7 +41,7 @@ class EventSource private[this] extends EventTarget {
41
42
var onmessage: js.Function1[MessageEvent, _] = js.native
43
44
- var onerror: js.Function1[ErrorEvent, _] = js.native
+ var onerror: js.Function1[Event, _] = js.native
45
46
/** The close() method must abort any instances of the fetch algorithm started for this EventSource object, and must
47
* set the readyState attribute to CLOSED. W3C 2012
0 commit comments