Is it currently possible to convert d.ts files to Kotlin? I've found a 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 (apart from being undocumented) seems to use an outdated compiler, uses KotlinJS features (?) and feels like a little bit more complicated than a simple converter that consumes a file and outputs another.
1 Answer
The project that you've linked to is the best thing currently available. We plan to resume work on the converter and bring it to production quality (with support, documentation etc.) after Kotlin 1.0 is released.
1 Comment
Simon Forsberg
News Flash: Kotlin 1.0 (and 2.0!) has been released. Can you update your answer?
dynamic/@nativesyntax or convert libraries manually. (Note: I might regret that decision.)