ansman
04/21/2022, 2:16 PMMap
types to JS so I added a MapWrapper<K, V> : Map<K, V
that is `@JsExport`ed. But even if I manually override the method they still don’t end up in the typescript definitions. It seems that all functions that are declared in a non exported interface are not included in the export. Does anyone know of a workaround?Anton Lakotka [JB]
04/21/2022, 2:25 PMMichael Friend
04/21/2022, 3:38 PMexpect class MapWrapper
with actual implementations that use an internal Map
with functions in jsMain
that can convert to/from js types and functions with the other platforms that just return the internal Map