Robert Jaros
07/24/2024, 12:39 PM2.0.0
to Kotlin 2.0.10-RC
my integration with some JS modules is broken. E.g. export 'RsupProgress' (imported as 'RsupProgress') was not found in 'rsup-progress' (possible exports: Progress)
. What can be the cause of this? Can't find anything in 2.0.10-RC release notes.broadway_lamb
07/24/2024, 12:40 PMRobert Jaros
07/24/2024, 12:49 PMRobert Jaros
07/24/2024, 12:50 PMRobert Jaros
07/24/2024, 12:53 PM@JsName
annotation (which is an expect/actual typealias for kotlin.js.JsName
) is not working anymore.broadway_lamb
07/24/2024, 12:54 PMRobert Jaros
07/24/2024, 12:55 PMRobert Jaros
07/24/2024, 1:06 PMbroadway_lamb
07/24/2024, 1:06 PMRobert Jaros
07/24/2024, 1:08 PM@JsModule
annotation, and it seems to work.Robert Jaros
07/24/2024, 1:10 PMkotlin.js.JsName
itself ...broadway_lamb
07/24/2024, 1:11 PMJsName
in common code. Could you please try annotating your RsupProgress
class as @kotlin.js.JsName
and see if it works?Robert Jaros
07/24/2024, 1:11 PMRobert Jaros
07/24/2024, 1:14 PMRobert Jaros
07/24/2024, 1:17 PMRobert Jaros
07/24/2024, 1:18 PM@JsModule
and @JsName
- and I have an error: export 'Trix' (imported as 'Trix') was not found in 'trix' (possible exports: default)
Robert Jaros
07/24/2024, 2:28 PM2.0.10-RC2-532
fixed the problem. Thank you!. I'll just have to wait till next release.Robert Jaros
07/24/2024, 2:30 PM