scala-js/scala-js-dom

MutationObserverInit object is not js.native

rinfield opened this issue · 0 comments

The companion object of MutationObserver is a plain scala object, so it should not be js.native here

I thought I create PR that simply changing to

val MutationObserverInit: raw.MutationObserverInit.type = raw.MutationObserverInit

, but produces warning message

Members of traits, classes and objects extending js.Any may only contain members that call js.native. This will be enforced in 1.0.