rrdelaney / ReasonablyTyped

:diamond_shape_with_a_dot_inside: Converts Flow and TypeScript definitions to Reason interfaces
https://rrdelaney.github.io/ReasonablyTyped/
MIT License
517 stars 24 forks source link

can this library borrow from ts2fable? #64

Open fergusmeiklejohn opened 5 years ago

fergusmeiklejohn commented 5 years ago

Just a quick suggestion: have you looked at how ts2fable are generating F# types from typescript definitions? https://github.com/fable-compiler/ts2fable

I'm sure this is old news and apologies if so, but I couldn't find 'fable' or'ts2fable' in a search on this repo..

rrdelaney commented 5 years ago

Check out https://github.com/rrdelaney/ReasonablyTyped/issues/63#issuecomment-408586813 for the current state of the repo. Ideally retyped wouldn't really do much analysis on the TS bindings, it would just convert from .d.ts to .dre, but that .dre is still a WIP that I haven't worked on much recently. You can check out dre here: https://github.com/rrdelaney/reason-dre.