File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/scala/org/scalajs/dom/raw Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ class IDBTransaction extends EventTarget {
509509 *
510510 * MDN
511511 */
512- var onerror : js.Function1 [ErrorEvent , _] = js.native
512+ var onerror : js.Function1 [Event , _] = js.native
513513
514514 /**
515515 * The event handler for the onabort event.
@@ -613,7 +613,7 @@ class IDBDatabase extends EventTarget {
613613 *
614614 * MDN
615615 */
616- var onerror : js.Function1 [ErrorEvent , _] = js.native
616+ var onerror : js.Function1 [Event , _] = js.native
617617
618618 /**
619619 * Fires when access of the database is aborted.
@@ -788,7 +788,7 @@ class IDBRequest extends EventTarget {
788788 *
789789 * MDN
790790 */
791- var onerror : js.Function1 [ErrorEvent , _] = js.native
791+ var onerror : js.Function1 [Event , _] = js.native
792792
793793 /**
794794 * The state of the request. Every request starts in the pending state. The state
You can’t perform that action at this time.
0 commit comments