So basically I'm exporting a top level object in Scala.js where the start method takes in a JS object as function argument.
After some research I discovered that defining a trait for the object would solve the issue, but all I get is still "[Object object]"
This is my main.scala file:
package...