ylemoigne
05/11/2018, 3:07 PMexternal object Object {
fun setPrototypeOf(plain: dynamic, prototype: dynamic): dynamic
}
and call it with Object.plain(myPlainObject, kotlinext.js.Object.getPrototypeOf(type!!.js.asDynamic().prototype))
but it doesn't seem to work.ylemoigne
05/11/2018, 3:30 PMObject.setPrototypeOf(obj, type!!.js.asDynamic().prototype)
is much betterylemoigne
05/11/2018, 3:48 PMsandwwraith
05/16/2018, 11:55 AM