Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/scala/org/scalajs/dom/raw/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ trait WindowTimers extends WindowTimersExtension {
*
* MDN
*/
trait Promise[+A] extends js.Object {
class Promise[+A](executor: js.Function2[js.Function1[A, Any], js.Function1[Any, Any], Any]) extends js.Object {

/**
* The catch() method returns a Promise and deals with rejected cases only.
Expand Down