is the only way to call Kotlin code from JS to use...
# javascript
c
is the only way to call Kotlin code from JS to use @JsExport, which requires IR?
s
This is the only way with IR. Without IR, all public declarations are visible from JS, but you might want to use @JsName to prevent function name mangling.
👍 1
c
Do I need IR to get TS definitions?
s
You do.
IR and @JsExport is planned to be the only way in the future once it is fixed and stabilized.
c
OK. Thanks for the quick answers