mira
02/28/2025, 10:53 AMArtem Kobzar
02/28/2025, 1:07 PMmira
02/28/2025, 1:08 PMArtem Kobzar
02/28/2025, 1:11 PMFoo
which is not exported from a third-party library.
You can write something like this:
package my.own.project
import third.party.library.Foo as LibraryFoo
@JsExport
class Foo(private val foo: LibraryFoo) {
...
}
And work with such a class in your project.
So, your service which returns Foo
will be available from JS to interact with all the methods inside Foo
mira
02/28/2025, 1:13 PM