Hello, I noticed that Kotlin Multiplatform mangles API method names for Kotlin native libraries when transpiling to JS (e.g. ListArray.get is mangled like get_14h3f). Is there way to prevent this mangling? I want to be able to interact with native Kotlin objects from JS.
t
thana
12/03/2019, 5:30 AM
you can use
@JsName
but there is no way to disable name mangling
a
ankushg
12/03/2019, 6:32 AM
I don't know that there is a way to use JsName with built-in methods that you did not write yourself…