I am trying to define a kotlin external class for a javascript class. But how do I access its static members (the properties defined on the javascript constructor function)
b
bashor
02/07/2018, 6:36 PM
You can define them inside companion object of external class, like:
Copy code
external class Foo {
// instance members
companion object {
fun staticMember()
}
}