Does anyone know if there is a (somewhat "supporte...
# javascript
r
Does anyone know if there is a (somewhat "supported") JS-to-KotlinJS transpiler, to ease migration to KotlinJS from pure JS?
🏳️‍🌈 1
🚫 3
a
Not right now, but the feature was requested multiple times. It would be nice if someone from the community would contribute it.
👌 1
s
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
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.