Join Slack
Powered by
Any plan for having something similar to <https://...
# javascript
t
Tristan Caron
10/16/2017, 12:10 PM
Any plan for having something similar to
https://retyped.com
? Looks nice I think 😮 Could be a community effort though.
b
bashor
10/16/2017, 12:20 PM
Yes, we are going to create repository with JS declarations.
bashor
10/16/2017, 12:21 PM
Right now ts2kt can help you to translate d.ts files to kotlin
bashor
10/16/2017, 12:22 PM
https://kotlinlang.org/docs/tutorials/javascript/working-with-javascript.html#using-ts2kt-to-generate-header-files-for-kotlin
👍 1
d
danfma
10/20/2017, 7:43 PM
How does the ts2kt handle the union types?
b
bashor
10/23/2017, 7:59 PM
For parameters, it tries to generate overloads but if it gets too many overloads it generates
dynamic
. And in other cases, it also generates
dynamic
.
6
Views
Open in Slack
Previous
Next