Good evening, what’s the status regarding generating usable typescript definitions in JS targets? For now, we have to maintain them manually. If someone has better suggestions, please share 🙂 .
b
Big Chungus
06/04/2021, 10:19 PM
Generation from IR is fairly stable. Just gotta remember to only use external interfaces with @JsExport
Big Chungus
06/04/2021, 10:22 PM
Sadly there's no easy way to automate testing of those
Big Chungus
06/04/2021, 10:23 PM
I'd suggest maintaining a separate ts package that only runs tests on your generated kotlin.js lib