admin管理员组

文章数量:1202348

I have a JavaScript build in my Kotlin project. How can I produce full TypeScript code instead of JavaScript?

I use Maven; but if you have a Gradle solution, I'm interested.

I have a JavaScript build in my Kotlin project. How can I produce full TypeScript code instead of JavaScript?

I use Maven; but if you have a Gradle solution, I'm interested.

Share Improve this question edited Jan 14, 2019 at 19:53 kzm 3953 silver badges13 bronze badges asked Jan 7, 2019 at 21:44 sabsab 5,02210 gold badges40 silver badges65 bronze badges 6
  • Maybe have a look at this: github.com/ntrrgc/ts-generator . Why do you what to do this though? TypeScript too transpiles to JavaScript anyway... – Patric Commented Jan 7, 2019 at 22:09
  • I need the whole code in ts, not just the model – sab Commented Jan 7, 2019 at 23:33
  • Consider full-stack TypeScript from the start. Just a suggestion, might not be practical for you / your team / your use case

    本文标签: javascriptHow to compile Kotlin into TypeScriptStack Overflow