Open fullofcaffeine opened 5 years ago
Good idea, I'll try integrating it with hxgenjs.
On Sun, Apr 28, 2019 at 11:42 PM Juraj Kirchheim notifications@github.com wrote:
Try https://github.com/nadako/hxtsdgen ;)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kevinresol/hxgenjs/issues/33#issuecomment-487450122, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAT2YGGHM5AJUGY7IFTXFDPSZ4CDANCNFSM4HI426JQ .
That would be awesome -- it uses "Any" for now just to make sure it will compile, but more specific types (and in a perfect world, doc comments too!) would really be ideal :smile:
Aloha!
I've been experimenting a bit more with
hxgenjs
and been playing with a hybridTS<>HX
approach for rapid app development. You can read a bit more about it here, the WIP source is here.When trying the
-D tsextern
feature, I noticed that all type information is lost andAny
is used instead. I have a few questions about that:1) I assume that's because this version is still rough and data mappings between both haven't been implemented? 2) Are there any plans to implement it? 3) Any tricky scenarios where it'd be hard to map types from HX>TS?
cc @jgranick