Hi there! Quick questions. We have a multiplatform...
# javascript
g
Hi there! Quick questions. We have a multiplatform project with
JS
target that we just migrated from Kotlin
1.4
to
1.5.20
. As now
IR
is the default backend, we need to annotate those key classes with
JSExport
to be able to see them on
JavaScript
exports. The problem is that we need access to some
enum
and
interfaces
too that seems it’s not exported anymore. Any advice on how to proceed here? I don’t know if there is any workaround for this or if
enum
and
interfaces
will be supported in the future 🤔
r
The relevant issues are https://youtrack.jetbrains.com/issue/KT-45434 and https://youtrack.jetbrains.com/issue/KT-44494, maybe add your usecases? For now you'll probably need to stay on legacy
👍 1
b
Some workarounds also mentioned in the issues above.
It would be helpful if you could share more about your case and answer questions in these comments: • https://youtrack.jetbrains.com/issue/KT-45434#focus=Comments-27-4980863.0-0https://youtrack.jetbrains.com/issue/KT-37916#focus=Comments-27-4182306.0-0