Can kotlin js generate typescript code? I'm writi...
# multiplatform
b
Can kotlin js generate typescript code? I'm writing my app business logic with kotlin multi-platform, I want the ui to be build with flutter, so I can ship it quickly for ios and android. However dart don't intereop with kotlin, even if I'm using platform channel this make me duplicate many things like pojos ect. Dart has intereop with typescript so if kotlin js genereted typescript files maybe I could reuse them in dart, for minimal stuff like pojo ect.
c
Interesting approach
t
no, kotlin does not yet generare typescript nor typings
there is a ticket requesting this feature, which was recently targeted to kotlin 1.4.
a
Why don't you dump dart and just use Kotlin instead?
b
Because in this case It's double the time of development @addamsson, and my knowledge of ios its basic.
@thana any link to the ticket?
b
Thanks! @thana