de.surfice.smacrotools
Creates a @ScalaJSDefined version of the annotated class or trait on the companion object.
@ScalaJSDefined
@createJS trait Foo { def bar: String }
will expand to
trait Foo { def bar: String } object Foo { @js.native @ScalaJSDefined trait JS extends js.Object { def bar: String } }
Creates a
@ScalaJSDefined
version of the annotated class or trait on the companion object.will expand to