Is there a way to avoid having to call the compani...
# javascript
e
Is there a way to avoid having to call the companion object to invoke functions on it, sort of like the equivalent of
@JvmStatic
?
b
eugenio: feel free to create an issue for that
right now it’s impossible
impossible w/o hacks, ofc 🙂
e
@bashor out of pure scientific curiosity.... What hacks? :D
b
for example, write in MyClass.Companion init block something like:
MyClass::class.js.asDynamic().foo = MyClass.Companion::class.js..asDynamic().foo