marcinmoskala
01/23/2018, 12:28 PM@JvmName
can be used on common modules, but @JsName
not. Any way to set name for JS in multiplatform projects? (Problem is that JS doesn't accept names like fun `this is name`(){}
)anton.bannykh
01/23/2018, 12:38 PMexpect
a custom annotation in your common module and typealias
it to @JsName
in JS module. When compiling to JavaScript that would work as if you've used @JsName
in the common code.marcinmoskala
01/23/2018, 4:20 PManton.bannykh
01/23/2018, 4:22 PMmarcinmoskala
01/24/2018, 4:40 AManton.bannykh
01/24/2018, 11:35 AM