Hi I have a mpp lib (1.4, with JS IR) where I am u...
# javascript
n
Hi I have a mpp lib (1.4, with JS IR) where I am using
@JsExport
on a data class (say,
A
), and I am using that lib from a Kotlin/JS project where I would like to use that from JS. But when using that type
A
in my K/JS project, I get an error: Exported declaration uses non-exportable property type:
A
But I know
A
to be exportable since I can export it fine in the lib. Is this intended? Shouldn't something exportable in a project also be exportable in all of this project's dependants? Any tips appreciated, thanks!