Hello, I noticed that Kotlin Multiplatform mangles...
# javascript
j
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
you can use
@JsName
but there is no way to disable name mangling
a
I don't know that there is a way to use JsName with built-in methods that you did not write yourself…
q
I don't think it's possible with overloading.
p
j
Thanks Patrick