Distractic
11/07/2023, 8:12 PMbenkuly
11/08/2023, 12:34 PMStateFlow
s cannot be exported).CLOVIS
11/09/2023, 4:40 PM@JsExport
are visible to JS code. You can learn more about the restrictions for that here: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-js-export/
For those, the Kotlin compiler can also generate TS definition files (*.d.ts
) so you can have auto-complete and type checks in your IDE.