@JsExport seems really handy - however it's a sham...
# javascript
c
@JsExport seems really handy - however it's a shame I can't export
Map<X, Y>
. I can't export
List
or
Collection
either but those I can map to
Array
- is there an equivalent solution for `Map`s?
d
c
https://kotlinlang.org/docs/js-to-kotlin-interop.html I don't think I can export a Map though.
t
You can use following native
Map