Does anyone know if there is a (somewhat "supported") JS-to-KotlinJS transpiler, to ease migration to KotlinJS from pure JS?
🏳️🌈 1
🚫 3
a
altavir
10/22/2020, 1:42 PM
Not right now, but the feature was requested multiple times. It would be nice if someone from the community would contribute it.
👌 1
s
salomonbrys
10/22/2020, 3:57 PM
I don't think it would be a very good idea. js2kt would be more understandable.
Because js has no typing, transpiled js to kt would use the
dynamic
type all around, which would make using Kotlin irrelevant.
☝️ 1
r
Rasmus Plaubor
10/23/2020, 6:09 AM
It would be to ease migration as I stated, so one would of course have to go through the output no matter what. But it could mean less tedious steps. JS to Kotlin would be a good start.