rrdelaney / ReasonablyTyped

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

Date support #31

Closed rrdelaney closed 7 years ago

rrdelaney commented 7 years ago

We don't support built-in JS date objects! We should, and it shouldn't be too difficult.

This is mostly just adding another case to named_to_bstype and adding a new BsType, then rendering the results in bstype_to_code.

The Js.Date documentation should be helpful here too

SllyQ commented 7 years ago

I'll take it