将 TypeScript 定义文件转换为 Kotlin
Converting TypeScript definition files to Kotlin
目前是否可以将 d.ts
文件转换为 Kotlin?我发现 post which mentions that Kotlin devs are working on a converter, but I'm not sure if the project was dropped or is it available in some kind of beta state. This project(除了未记录)似乎使用了过时的编译器,使用了 KotlinJS 功能(?),感觉比使用一个文件并输出另一个文件的简单转换器要复杂一些。
您链接到的项目是目前可用的最好的项目。我们计划在 Kotlin 1.0 发布后恢复转换器的工作并使其达到生产质量(包括支持、文档等)。
目前是否可以将 d.ts
文件转换为 Kotlin?我发现 post which mentions that Kotlin devs are working on a converter, but I'm not sure if the project was dropped or is it available in some kind of beta state. This project(除了未记录)似乎使用了过时的编译器,使用了 KotlinJS 功能(?),感觉比使用一个文件并输出另一个文件的简单转换器要复杂一些。
您链接到的项目是目前可用的最好的项目。我们计划在 Kotlin 1.0 发布后恢复转换器的工作并使其达到生产质量(包括支持、文档等)。