title: JavaScript object as function parameter
body: <p>I'm writting a function transpiled with Scala.js that should accept any random JavaScript object.</p>
  
  <p>Ex:</p>
  
  <pre><code>// This has been transpiled using Scala.js
  var my_service = new com.myself.Service();
  
  // This is plain JavaScript 
  var result1 = service({ hello: "yolo" });
  var result2 = service({ whatever: "ok", really: { yes: "right", no: "don't" } });
  </code></pre>
  
  <p>However, I can't find the input type that matches it. </p>
  
  <ul>
  <li>What would be the Scala-function signature to get such a thing? </li>
  <li>Could it be used then as a "Scala/JS case class" easily?</li>
  </ul>
  
  <p><em>Note (if it helps giving a direction for the answers): these objects have, in the real life, an expected schema but it cannot be created as JS object generated from Scala.js since it comes from another consumed service.</em></p>