This is what I found to be the most simple: ``` ...
# javascript
g
This is what I found to be the most simple:
Copy code
val options = createObject<AnExternalInterface>().apply {
        extInterfaceProperty = 123
    }

private inline fun <reified T> createObject():T = Any().unsafeCast<T>()