You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: Looking at the code, I see the classes in this lib do not @JsExport any classes, making them inaccessible from Koltin JS (IR). Are there any plans to allow this library to be exposed through Kotlin JS libs as well?
Update 2: I understand what I'm actually looking for is Typescript bindings for Kotlin stdlib or immutable collections. Is that on the roadmap by chance?
The text was updated successfully, but these errors were encountered:
Hi @gino-m
If you added the library to the common source set dependencies, there is no need to add it to js. You should be able to use it in all targets, including js.
Thanks, that makes sense. I now understand what I'm actually looking for is Typescript bindings for Kotlin stdlib or immutable collections. Is that on the roadmap? Updated my original post to reflect this question.
Tried using
ImmutableList
,ImmutableMap
,PersistentList
, andPersistentMap
both in data class constructors and as fields.Kotlin lang: 1.9.20. Deps:
Update: Looking at the code, I see the classes in this lib do not@JsExport
any classes, making them inaccessible from Koltin JS (IR). Are there any plans to allow this library to be exposed through Kotlin JS libs as well?Update 2: I understand what I'm actually looking for is Typescript bindings for Kotlin stdlib or immutable collections. Is that on the roadmap by chance?
The text was updated successfully, but these errors were encountered: