Wrong method name in my kotlinJS (multiplatform)lib

I’m building a kotlin lib multiplatform , to be reused in both java , front and node project
My issue is with the js output: all the method name are slighty change ( ie : launch() become launch_$e18())

How can I keep the original name ?

Use @JsName annotation.

The reason why the names change is that JS unlike Kotlin does not include function arguments in its function signatures. So the names are mangled for disambiguation.

I have way too many method to use @JsName it everywhere. I also have this name issue in method name with only one argument signature.

Sorry there is no other way that I am aware of. This is rarely a problem in my project, since we have only a few functions that we want to be called from native js.