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
coolcat
01/24/2019, 11:36 AM
Interesting approach
t
thana
01/24/2019, 11:38 AM
no, kotlin does not yet generare typescript nor typings
thana
01/24/2019, 11:38 AM
there is a ticket requesting this feature, which was recently targeted to kotlin 1.4.
a
addamsson
01/24/2019, 11:55 AM
Why don't you dump dart and just use Kotlin instead?
b
bdeg
01/24/2019, 1:52 PM
Because in this case It's double the time of development @addamsson, and my knowledge of ios its basic.